denysvitali / sonos-web

Web interface for Sonos audio systems
120 stars 14 forks source link

Run "npm start" as a service? #13

Closed max1404 closed 8 years ago

max1404 commented 8 years ago

Can one "npm start" running as a service? If yes how? Does anyone have a built script?

denysvitali commented 8 years ago

If you want a fast and easy way you can execute nohup npm start, otherwise you may think to implement a systemd / service implementation.

You may take a look here. Where ExecStart will be something like cd /home/dvitali/Documents/git/sonos-web/; npm start;

denysvitali commented 8 years ago

I'm gonna close this since no answer was posted in 21 days. Feel free to comment if your issue isn't solved