I want to create a start/stop/restart service on Linux for Sails.js.
Will start Sails (similar to sails lift
command):
sudo service myapp start
Will stop Sails:
sudo service myapp stop
Will restart Sails:
sudo service myapp restart
I found this link, but it doesn't work as expected.