diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-03 06:19:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-03 06:19:04 +0000 |
commit | 6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch) | |
tree | 1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/cluster-glue/ha_logd.initd | |
parent | 66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff) | |
download | aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2 aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz |
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/cluster-glue/ha_logd.initd')
-rw-r--r-- | testing/cluster-glue/ha_logd.initd | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/testing/cluster-glue/ha_logd.initd b/testing/cluster-glue/ha_logd.initd deleted file mode 100644 index 13a5bf321a..0000000000 --- a/testing/cluster-glue/ha_logd.initd +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/runscript - -PIDFILE=/var/run/heartbeat-logd.pid - -depend() { - need net -} - -BINARY="/usr/%libdir%/heartbeat/ha_logd" -USER="hacluster" -GROUP="haclient" -CONFIG="/etc/logd.cf" -LOGFILE="/var/log/ha_logger.log" - -start() { - ebegin "Starting heartbeat non-blocking log service" - - COMMAND_ARGS="-d" - [[ -f "${CONFIG}" ]] && COMMAND_ARGS+=" -c ${CONFIG}" - - if [ -n "${RC_UNAME}" ]; then - PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}" - else - PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1 &" - fi - eval ${CHRT} start-stop-daemon \ - --quiet --start --chdir "${RUNTIMEDIR}" \ - --pidfile "${PIDFILE}" \ - --make-pidfile \ - --exec ${BINARY} ${COMMAND_ARGS} --user "${USER}:${GROUP}" \ - ${PARAMS} - eend $? -} - -stop() { - ebegin "Stopping heartbeat non-blocking log service" - start-stop-daemon --stop --retry 3 --quiet --exec "${BINARY}" - rm -f "${PIDFILE}" - eend $? -} - -restart() { - stop - sleep 3 - start -} |