pi-dashcam/dashcam.service.example
2023-08-19 23:38:13 +02:00

13 lines
305 B
Plaintext
Executable File

[Unit]
Description=RaspberryPI native dashcam script to be schedule after boot
Wants=network.target
Requires=pigpiod.service
After=pigpiod.service
[Service]
ExecStart=/opt/dashcam/.venv/bin/python3 /opt/dashcam/dashcam.py
WorkingDirectory=/opt/dashcam
Restart=always
[Install]
WantedBy=multi-user.target