2
0
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-15 18:13:53 +00:00
dnscrypt-server-docker/watchdog.sh

8 lines
134 B
Bash
Raw Normal View History

#! /usr/bin/env bash
2015-07-05 23:39:54 +00:00
sleep 300
2015-07-05 23:39:54 +00:00
for service in unbound encrypted-dns; do
2015-07-05 23:39:54 +00:00
sv check "$service" || sv force-restart "$service"
done