13 lines
305 B
Plaintext
Executable File
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 |