# systemd configuration for v4l2rtspserver # /etc/systemd/system/v4l2rtspserver.service [Unit] Description=v4l2rtspserver rtsp streaming server After=network.target [Service] #ExecStartPre=/usr/bin/v4l2-ctl --set-ctrl vertical_flip=1 ExecStartPre=/usr/bin/v4l2-ctl --set-ctrl h264_i_frame_period=5 ExecStart=/usr/local/bin/v4l2rtspserver -F 5 -W 640 -H 480 #ExecReload=/bin/kill -HUP $MAINPID Type=simple User=root Group=video Restart=always [Install] WantedBy=multi-user.target