[Unit] Description=convert rtsp to hls for viewing live camera feeds in browser After=network-online.target [Service] Restart=always RestartSec=3 User=root Group=root EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf ExecStart=/home/user/homekit/tools/ipcam_rtsp2hls_rkmpp.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT --force-tcp $ARGS [Install] WantedBy=multi-user.target