I want to start and stop my jar file as follows
service myService start
service myService stop
my current jar file running as follows
cd /home/alex/IdeaProjects/myService
java -jar target/myService-SNAPSHOT-1.jar server config.yml
What should I do?