From cd4b863f22f80df1c2d03ef1c4145b9f53cd6b6d Mon Sep 17 00:00:00 2001 From: vladostp Date: Thu, 19 Nov 2020 16:53:12 +0100 Subject: [PATCH] Fix --- deployer/archipel/supervisord.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deployer/archipel/supervisord.conf b/deployer/archipel/supervisord.conf index d7a77a0..47b62ed 100644 --- a/deployer/archipel/supervisord.conf +++ b/deployer/archipel/supervisord.conf @@ -32,9 +32,11 @@ redirect_stderr=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 -[program:wgresolvdns] +[program:wg-resolv-dns] priority=4 -command=bash -c "sleep 120 && wg-resolv-dns.sh /etc/wireguard/wg0.conf" +command = bash -c "while true; do sleep 120 && wg-resolv-dns.sh /etc/wireguard/wg0.conf; done" +startsecs=5 +autostart=true autorestart=true redirect_stderr=true stdout_logfile=/dev/stdout