raspicar/raspicar.service

17 lines
253 B
SYSTEMD
Raw Normal View History

2021-01-22 18:31:41 +01:00
[Unit]
Description=RaspiCar Service
After=
[Service]
Type=simple
User=pi
Group=pi
UMask=007
WorkingDirectory=/home/pi/raspicar/
ExecStart=python3 /home/pi/raspicar/raspicar.py
Restart=on-failure
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target