Skip to content

Instantly share code, notes, and snippets.

@maxiimilian
Created November 24, 2019 16:39
Show Gist options
  • Save maxiimilian/ac9666c5d1439d30b76bd82406e47613 to your computer and use it in GitHub Desktop.
Save maxiimilian/ac9666c5d1439d30b76bd82406e47613 to your computer and use it in GitHub Desktop.
Systemd Service file to run ws2812 Server as daemon.
[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