change pdsh group

This commit is contained in:
Jakobus Schürz 2020-01-16 17:36:36 +01:00
parent b23dd81072
commit ce74a328b5

View file

@ -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"