Skip to content

Instantly share code, notes, and snippets.

@heisvoid
Last active January 25, 2018 05:13
~/.config/systemd/user/record_cam.service
[Unit]
Description=Record camera
[Service]
Type=simple
ExecStart=/bin/sh /home/heisvoid/bin/cam/record_cam.sh
Restart=always
RestartSec=10
@heisvoid
Copy link
Author

The record_cam.sh is just ffmpeg command to record rtsp stream from camera. The ffmpeg command is https://git.io/vbd91.

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