raspi-color/raspi-color.service

17 lines
234 B
SYSTEMD
Raw Permalink Normal View History

2021-02-22 17:06:15 +01:00
[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