First commit
This commit is contained in:
commit
dcbc4d1e33
2 changed files with 108 additions and 0 deletions
16
raspi-color.service
Normal file
16
raspi-color.service
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=RGB leds
|
||||
After=
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
UMask=007
|
||||
WorkingDirectory=/home/pi/
|
||||
ExecStart=python3 /home/pi/raspi-color.py
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=300
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue