Add systemd service file to start lightrix

master
Ryan Rix 8 years ago
parent 7f30355e20
commit d2d064ab1e

@ -0,0 +1,11 @@
[Unit]
Name=Control an Adafruit Neopixel from Matrix.org
Requires=network.target
[Install]
WantedBy=default.target
[Service]
Type=simple
ExecStart=/usr/bin/python /root/lightrix.py --room '<CHANGEME>' -c /root/.mcatrc
Restart=on-abnormal
Loading…
Cancel
Save