aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pacemaker/pacemaker.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
commit6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch)
tree1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/pacemaker/pacemaker.initd
parent66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff)
downloadaports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2
aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/pacemaker/pacemaker.initd')
-rw-r--r--testing/pacemaker/pacemaker.initd39
1 files changed, 0 insertions, 39 deletions
diff --git a/testing/pacemaker/pacemaker.initd b/testing/pacemaker/pacemaker.initd
deleted file mode 100644
index 4231425f88..0000000000
--- a/testing/pacemaker/pacemaker.initd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/files/pacemaker.initd,v 1.1 2011/02/21 14:39:28 ultrabug Exp $
-
-PIDFILE=/var/run/pacemaker.pid
-
-depend() {
- need net corosync
- use syslog
-}
-
-start() {
- nc=0
- ebegin "Starting Pacemaker Cluster Manager"
- einfon "Waiting for Corosync startup ."
- while true; do
- /usr/sbin/corosync-cfgtool -s &>/dev/null && break
- nc=$(expr $nc + 1)
- if [ $nc -gt 30 ]; then
- echo
- eend 1 "Failed to detect Corosync startup, is it really running ?"
- exit 1
- fi
- sleep 1
- echo -n "."
- done
- echo
- start-stop-daemon --start -q --exec /usr/sbin/pacemakerd \
- --pidfile "${PIDFILE}" --make-pidfile --background \
- -- -f
- eend $?
-}
-
-stop() {
- ebegin "Stopping Pacemaker Cluster Manager"
- start-stop-daemon --stop -q --pidfile "${PIDFILE}"
- eend $?
-}