1234567891011121314151617 |
- # Place it in /etc/systemd/system, and start:
- # systemctl daemon-reload
- # systemctl enable dashcam
- # systemctl start dashcam
- [Unit]
- Description=Dashcam sync
- After=network.target
- [Install]
- WantedBy=multi-user.target
- [Service]
- Type=simple
- Restart=always
- RestartSec=5
- ExecStart=/home/kotnik/repos/dashcam/sync.py --ftp-password YOUR_FTP_PASSWORD
|