mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-05-10 08:36:08 +02:00
Run the watchdog every 5 min, reduce the grace period margin
This commit is contained in:
parent
92853a74ad
commit
2dfb660640
|
@ -1,13 +1,13 @@
|
|||
#! /bin/sh
|
||||
|
||||
sleep 600
|
||||
sleep 300
|
||||
|
||||
for service in unbound dnscrypt-wrapper; do
|
||||
sv check "$service" || sv force-restart "$service"
|
||||
done
|
||||
|
||||
KEYS_DIR="/opt/dnscrypt-wrapper/etc/keys"
|
||||
GRACE_PERIOD=600
|
||||
GRACE_PERIOD=60
|
||||
|
||||
provider_key=$(cat "${KEYS_DIR}/public.key.txt")
|
||||
provider_name=$(cat "${KEYS_DIR}/provider_name")
|
||||
|
|
Loading…
Reference in New Issue