I edited the settings and mjpg-streamer didn’t restart. The log says:
| Dec 19 13:45:06 DietPi systemd[1]: mjpg-streamer.service: Service has more than one ExecStart= setting, which is │
| only allowed for Type=oneshot services. Refusing. │
| Dec 19 13:45:06 DietPi systemd[1]: mjpg-streamer.service: Current command vanished from the unit file, execution of │
| the command list won't be resumed. │
| Dec 19 13:45:06 DietPi systemd[1]: Stopping mjpg-streamer (DietPi)... │
| Dec 19 13:45:06 DietPi systemd[1]: mjpg-streamer.service: Main process exited, code=killed, status=15/TERM │
If I am reading this right, it is saying there are two ExecStart’s?
Sorry if I am being dumb, not used to fiddling at this level!
This is without the -ex option as I wanted to just make sure it worked first before adding in more variables