I have a script that starts and stops its service.
Also, the script takes an arguement like.
./seafile.sh start
./seafile.sh stop
How can I attach this to the upstart?
I assume I can't use exec or script since starting and stopping needs different commands?
Can I just use pre-start script and pre-stop script with no exec and empty regular script?
Thanks,
Bookmarks