Added systemd user service

This commit is contained in:
Skylten
2020-06-14 21:21:38 +02:00
parent 205ccbce1d
commit fce77d4a8f
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Run the skylt script
After=network.target
[Service]
Type=simple
User=skylt
WorkingDirectory=/home/skylt/skylt/rpi_ws281x/python
ExecStart=/home/skylt/skylt/rpi_ws281x/python/animate
Restart=always
[Install]
WantedBy=multi-user.target