summaryrefslogtreecommitdiff
path: root/systemd/ipcam_rtsp2hls@.service
blob: 9ce6cca4366f8c404791d09c02a8bf8f862791de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=convert rtsp to hls for viewing live camera feeds in browser
After=network-online.target

[Service]
Restart=always
RestartSec=3
User=user
Group=user
EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf
ExecStart=/home/user/homekit/bin/ipcam_rtsp2hls.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT $ARGS
Restart=on-failure
RestartSec=3

[Install]
WantedBy=multi-user.target