Created
November 24, 2019 16:39
-
-
Save maxiimilian/ac9666c5d1439d30b76bd82406e47613 to your computer and use it in GitHub Desktop.
Systemd Service file to run ws2812 Server as daemon.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=WS2812 Server (socket) | |
After=network.target | |
[Service] | |
# Change this to match your install directory | |
# Send stdout and stderr to /dev/null because RAM might overflow otherwise | |
ExecStart=/opt/rpi-ws2812-server/ws2812svr -tcp 9999 > /dev/null 2&>1 | |
Restart=on-failure | |
User=root | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment