dashcam.service 346 B

1234567891011121314151617
  1. # Place it in /etc/systemd/system, and start:
  2. # systemctl daemon-reload
  3. # systemctl enable dashcam
  4. # systemctl start dashcam
  5. [Unit]
  6. Description=Dashcam sync
  7. After=network.target
  8. [Install]
  9. WantedBy=multi-user.target
  10. [Service]
  11. Type=simple
  12. Restart=always
  13. RestartSec=5
  14. ExecStart=/home/kotnik/repos/dashcam/sync.py --ftp-password YOUR_FTP_PASSWORD