]> oss.titaniummirror.com Git - ovzbpc.git/commit
BackupPC_ovz: implment a ping command
authorR. Steve McKown <rsmckown@gmail.com>
Tue, 26 Nov 2013 16:59:22 +0000 (09:59 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 26 Nov 2013 16:59:22 +0000 (09:59 -0700)
commit1ece22d07b2f01e104f1060d26f153084f730e4a
treeb4e9905762d21fecd64754d9237925bd05fb86d4
parentee05bc55bd6c6114eefeb8ced04d86ea054c3215
BackupPC_ovz: implment a ping command

BackupPC entries for VEs can use this as their PingCmd:

/usr/bin/BackupPC_ovz ping $host $pingPath -c 1 $host

The Backup_PC_ovz script will run the command which is the text starting
with the token '$pingPath', substituting '$host' for its HN if '$host'
is found to be a VE.
BackupPC_ovz