From 5654b6d0b266b14a5432bcd2f3e8428ef0f53ac9 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Fri, 6 Apr 2018 14:13:04 +0200 Subject: [PATCH] [fix] ntpd blocked cause firewall to strict --- conf/ynh-vpnclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/ynh-vpnclient b/conf/ynh-vpnclient index 910e282..36a97e8 100644 --- a/conf/ynh-vpnclient +++ b/conf/ynh-vpnclient @@ -199,7 +199,7 @@ stop_openvpn() { sync_time() { systemctl stop ntp - ntpd -qg &> /dev/null + timeout 20 ntpd -qg &> /dev/null systemctl start ntp }