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.
18 lines
415 B
Makefile
18 lines
415 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/
|
|
|