From 218fa3fba584772fb9275cd335aac1639ab72445 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sun, 26 Oct 2014 13:08:33 +0100 Subject: testing/corosync: move to unmaintained --- unmaintained/corosync/corosync.initd | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 unmaintained/corosync/corosync.initd (limited to 'unmaintained/corosync/corosync.initd') diff --git a/unmaintained/corosync/corosync.initd b/unmaintained/corosync/corosync.initd new file mode 100644 index 0000000000..6c134bd937 --- /dev/null +++ b/unmaintained/corosync/corosync.initd @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/files/corosync.initd,v 1.2 2010/11/17 07:07:03 xarthisius Exp $ + +depend() { + need net + use logger +} + +start() { + ebegin "Starting Corosync Cluster Engine" + start-stop-daemon --start -q --exec /usr/sbin/corosync \ + --pidfile /var/run/corosync.pid --make-pidfile --background \ + -- -f + eend $? +} + +stop() { + ebegin "Stopping Corosync Cluster Engine" + start-stop-daemon --stop -q --pidfile /var/run/corosync.pid + eend $? +} -- cgit v1.2.3