From ce74a328b58147e3722020c4feaa837499389a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 16 Jan 2020 17:36:36 +0100 Subject: [PATCH] change pdsh group --- functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index e324dcf..20d1292 100644 --- a/functions.sh +++ b/functions.sh @@ -453,7 +453,8 @@ checkbkp () { $CMD /bin/bash << EOF sudo find /srv/nfs/backup -mindepth 1 -maxdepth 1|grep -v -e "git$\|git-backup-repos"|while read i;do printf "%-30s%s\\n" "\$i" \$(ls \$i|tail -n1);done EOF - which pdsh 1>/dev/null 2>&1 && pdsh -g hetzner-servers sudo systemctl status backup.service + #which pdsh 1>/dev/null 2>&1 && pdsh -g hetzner-servers sudo systemctl status backup.service + which pdsh 1>/dev/null 2>&1 && pdsh -g vpn sudo systemctl status backup.service else echo "backup.vpn is not reachable -> exit"