diff options
author | Guy Sheffer <guysoft@gmail.com> | 2022-06-16 17:58:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 17:58:24 +0300 |
commit | 6cb38c20755f9d1dc3cff493545b88738fc8e41d (patch) | |
tree | e65cdefa01699993feaece8cfb9c8aeba7abe90f | |
parent | 70294fa03277c6ca9d013de799c619f50dd12cdf (diff) | |
parent | aeca7ca63c91644615a3e72e58e1bb74d12a0df3 (diff) |
Merge pull request #764 from fliphess/fix_camera_freeze_on_webcamd_restart
Set systemd Type to simple instead of forking
-rw-r--r-- | src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service | 2 | ||||
-rw-r--r-- | src/variants/ubuntu_arm64/filesystem/root/etc/systemd/system/webcamd.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service b/src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service index ea494e4..451d237 100644 --- a/src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service +++ b/src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service @@ -8,7 +8,7 @@ StandardOutput=append:/var/log/webcamd.log StandardError=append:/var/log/webcamd.log ExecStart=/root/bin/webcamd Restart=always -Type=forking +Type=simple RestartSec=1 [Install] diff --git a/src/variants/ubuntu_arm64/filesystem/root/etc/systemd/system/webcamd.service b/src/variants/ubuntu_arm64/filesystem/root/etc/systemd/system/webcamd.service index bd5feb5..5154d6e 100644 --- a/src/variants/ubuntu_arm64/filesystem/root/etc/systemd/system/webcamd.service +++ b/src/variants/ubuntu_arm64/filesystem/root/etc/systemd/system/webcamd.service @@ -8,7 +8,7 @@ StandardOutput=append:/var/log/webcamd.log StandardError=append:/var/log/webcamd.log ExecStart=/root/bin/webcamd Restart=always -Type=forking +Type=simple RestartSec=1 [Install] |