Skip to content

Instantly share code, notes, and snippets.

@alex5250
Last active May 19, 2024 14:42
Show Gist options
  • Save alex5250/a53158a8dd301f48d439664db21c9aeb to your computer and use it in GitHub Desktop.
Save alex5250/a53158a8dd301f48d439664db21c9aeb to your computer and use it in GitHub Desktop.
[Unit]
Description=FPV Processing Daemon
After=network.target
[Service]
ExecStart=/usr/bin/dvr-processing.sh
WorkingDirectory=/root
StandardOutput=/var/log/video_processing/output.log
StandardError=/var/log/video_processing/error.log
Restart=always
User=root
[Install]
WantedBy=multi-user.target
@alex5250
Copy link
Author

sudo systemctl start fpv_processing_daemon.service

sudo systemctl enable fpv_processing_daemon.service

sudo systemctl status fpv_processing_daemon.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment