diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-24 22:16:33 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-24 22:16:35 +0300 |
commit | 00427d1b252474abde7de40588688ec2cea99185 (patch) | |
tree | 44f8aa2c1d24da2ed8c08c396e0ecfc57108c2a9 /systemd/ipcam_rtsp2hls@.service | |
parent | b8aa98899f14d90326bd10259aa69a0b4d6a139e (diff) |
ipcam changes
Diffstat (limited to 'systemd/ipcam_rtsp2hls@.service')
-rw-r--r-- | systemd/ipcam_rtsp2hls@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/ipcam_rtsp2hls@.service b/systemd/ipcam_rtsp2hls@.service new file mode 100644 index 0000000..244a192 --- /dev/null +++ b/systemd/ipcam_rtsp2hls@.service @@ -0,0 +1,13 @@ +[Unit] +Description=convert rtsp to hls for viewing live camera feeds in browser +After=network-online.target + +[Service] +Restart=always +User=user +Group=user +EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf +ExecStart=/home/user/homekit/tools/ipcam_rtsp2hls.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT $ARGS + +[Install] +WantedBy=multi-user.target |