summaryrefslogtreecommitdiff
path: root/systemd/ipcam_capture@.service
blob: 91966136f1e993f4d3824e901492df84ced7c250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=save ipcam streams
After=network-online.target

[Service]
Restart=always
User=user
Group=user
EnvironmentFile=/etc/ipcam_capture.conf.d/%i.conf
ExecStart=/home/user/homekit/tools/ipcam_capture.sh --outdir $OUTDIR --creds $CREDS --ip $IP --port $PORT $ARGS
Restart=always
RestartSec=2

[Install]
WantedBy=multi-user.target