Last active
January 25, 2018 05:13
~/.config/systemd/user/record_cam.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Record camera | |
[Service] | |
Type=simple | |
ExecStart=/bin/sh /home/heisvoid/bin/cam/record_cam.sh | |
Restart=always | |
RestartSec=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The record_cam.sh is just ffmpeg command to record rtsp stream from camera. The ffmpeg command is https://git.io/vbd91.