tom-2015 / rpi-ws2812-server

Raspberry Pi WS2812 (web) server tool
172 stars 39 forks source link

Run as System Service #30

Closed BDub38 closed 4 years ago

BDub38 commented 5 years ago

Is there a way to run the server as a System Service on the Raspberry Pi so that it runs all the time?

tom-2015 commented 5 years ago

Not yet included but you can create a system service file yourself as described here:

https://www.raspberrypi.org/documentation/linux/usage/systemd.md

maxiimilian commented 4 years ago

I am a bit late but check my gist out: https://gist.github.com/maxiimilian/ac9666c5d1439d30b76bd82406e47613

I am running this service file on my Raspberry Pi 1 successfully.

tom-2015 commented 4 years ago

Service is now included in the project with sudo make install

/etc/ws2812svr.conf here you can adjust the mode you want the service to run.