change pdsh group
This commit is contained in:
parent
b23dd81072
commit
ce74a328b5
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue