Add systemd service file to start lightrix
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…
Reference in New Issue