You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
541 B
Makefile
22 lines
541 B
Makefile
FAILOVER=/home/nagios/bin/failover.sh
|
|
|
|
default: test
|
|
|
|
test:
|
|
${FAILOVER} -P primary.localdomain -S secondary.localdomain
|
|
|
|
go:
|
|
${FAILOVER} -P primary.localdomain -S secondary.localdomain -E
|
|
force:
|
|
${FAILOVER} -P primary.localdomain -S secondary.localdomain -E --force
|
|
|
|
copy-test:
|
|
rsync -avun /home/nagios/princeton/failover/ /home/nagios/bin/
|
|
copy:
|
|
rsync -avu /home/nagios/princeton/failover/ /home/nagios/bin/
|
|
|
|
|
|
release:
|
|
rm -f release.zip
|
|
zip -r release.zip colors.sh failover.sh nagios_startstop.sh rsync_xi.sh START STOP SYNC local/
|