Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sheffer <guysoft@gmail.com>2022-06-16 17:58:24 +0300
committerGitHub <noreply@github.com>2022-06-16 17:58:24 +0300
commit6cb38c20755f9d1dc3cff493545b88738fc8e41d (patch)
treee65cdefa01699993feaece8cfb9c8aeba7abe90f
parent70294fa03277c6ca9d013de799c619f50dd12cdf (diff)
parentaeca7ca63c91644615a3e72e58e1bb74d12a0df3 (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.service2
-rw-r--r--src/variants/ubuntu_arm64/filesystem/root/etc/systemd/system/webcamd.service2
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]