diff options
author | coliss86 <coliss86@users.noreply.github.com> | 2020-12-18 20:09:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 20:09:45 +0300 |
commit | ddfc9f500b6e798feae0870fed35f367c2bfd714 (patch) | |
tree | 095b33ed4e4e101a141c91397795fad5bac6b473 | |
parent | 8aa44187aafa52e487f2b6661007a5aad35c62a6 (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.
-rw-r--r-- | src/modules/octopi/filesystem/root/etc/systemd/system/webcamd.service | 1 |
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 |