Set systemd Type to simple instead of forking#764
Conversation
|
Is this still required with the changes that were made in #741? Have you tested a recent nightly build to see if you still have a restarting issue? |
|
hey @cp2004, Thanks for your reply!
I'm not using the latest version, it's a bullseye nightly build from november so it's from after #741 , but I can test it tomorrow with the most recent ones to verify if you want |
|
It would help if you can test and confirm. It looks though like its a good idea in general. |
|
I'm printing atm and my job is about to be ongoing for a few hours but right after that I'll give it a try with the latest nightly build to verify. To be continued :) |
The way I read #741 / #740 was that it was fixing a regular restarting issue, so it is interesting to see that doesn't work. |
@cp2004: Looking at the commits in #741 those are changes to fix restarts caused by issues at daemon level (IE the webcamd script itself to fix crashes of When I run: ... And when I run We could leave it at forking, but in that case we should start (Although personally I think setting it so btw: I've tested with the latest nightly and I still see the same behaviour: My camera runs for around a minute until the streams stops shortly and if I refresh my page it's working again (iow: the restart by systemd completed and it keeps running for the next minute) |
|
Hey, @foosel tested, merging this |
Hello :)
I've seen several issues related to webcamd restarting very frequently and ran in the same issue:
This mention in the community fixed it for me and as I didn't see it in this branch yet, a PR to change this behaviour.
Hope you are willing to merge this.
Thanks a lot for maintaining this repository :) Keep up the good work!