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:
authorFlip <flip@fliphess.com>2022-02-08 23:48:18 +0300
committerFlip Hess <flip@fliphess.com>2022-02-08 23:48:18 +0300
commitaeca7ca63c91644615a3e72e58e1bb74d12a0df3 (patch)
tree6724c6471db4b8e421988fb632054ab95aa5b9a7
parent70d256b24985cbf3c9adf8f4141a572cd9f15a8c (diff)
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]