You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
heartbeat/doc/startstop

43 lines
784 B

#!/bin/sh
#
# High-Availability Pre-Startup/Shutdown Script
#
# Description: Runs on Startup or shutdown of heartbeat (not resource based).
# Also runs before start, after start or before stop,
# and after stop.
#
# Author: Matthew Soffen
#
# Support: linux-ha@lists.linux-ha.org
#
# License: GNU Lesser General Public License (LGPL)
#
# Copyright: (C) 2002 Matthew Soffen
#
#
unset LC_ALL; export LC_ALL
unset LANGUAGE; export LANGUAGE
prefix=/usr
exec_prefix=/usr
. /etc/ha.d/shellfuncs
case "$1" in
'start')
;;
'pre-start')
;;
'post-start')
;;
'stop')
;;
'pre-stop')
;;
'post-stop')
;;
*)
echo "Usage: $0 { start | pre-start | post-start | stop | pre-stop | post-stop }"
;;
esac
exit 0