diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 02:19:32 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 02:20:04 +0100 |
commit | c0756ad6450664d5e284418696eb09fa7268b25f (patch) | |
tree | 1a370bd7a737b953b9fd58ab5327fe9a29211ef9 /testing/cluster-glue | |
parent | 9ccd5db1f8f154a87e0edadf400d31a95af6f2ed (diff) | |
download | aports-c0756ad6450664d5e284418696eb09fa7268b25f.tar.bz2 aports-c0756ad6450664d5e284418696eb09fa7268b25f.tar.xz |
Cleanup unused files and patches
Diffstat (limited to 'testing/cluster-glue')
-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 -} |