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:
authorcoliss86 <coliss86@users.noreply.github.com>2020-12-18 20:09:45 +0300
committerGitHub <noreply@github.com>2020-12-18 20:09:45 +0300
commitddfc9f500b6e798feae0870fed35f367c2bfd714 (patch)
tree095b33ed4e4e101a141c91397795fad5bac6b473 /src/modules
parent8aa44187aafa52e487f2b6661007a5aad35c62a6 (diff)
Increase restart time to 1 second
by default, when the service crash, it is restarted within 100 ms. This patch increase the time in order to eventually let the usb device to be ready.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service1
1 files changed, 1 insertions, 0 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 2416f57..ea494e4 100644
--- a/src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service
+++ b/src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service
@@ -9,6 +9,7 @@ StandardError=append:/var/log/webcamd.log
ExecStart=/root/bin/webcamd
Restart=always
Type=forking
+RestartSec=1
[Install]
WantedBy=multi-user.target