Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Appendix B: Grid daemon scripts > Common daemon functions script - Pg. 89

Common daemon functions script Example: B-2 common-daemon-functions.sh # # Common daemon script functions to be sourced in by any daemon-type script # # Created 2005/10 - Colm Malone/Watson/IBM@IBMUS <colm@us.ibm.com> # # # ACTION should be "start" "stop" or "status" # ACTION="$1" DAEMON_SCRIPT="$(cd `dirname $0`;pwd)/`basename $0`" daemon_init() { _ACTION="$1" GLOBAL_DAEMON_SERVICES_DIR=/gsa/pokgsa/projects/g/gridhosting/applications if [ "$DAEMON_DISABLED" = "1" ]; then