From f9b478494e821804a3c5cee3912a1f970c2b7ca3 Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Mon, 8 Jun 2009 15:00:56 +0000 Subject: unstable/prosody move to testing/prosody --- unstable/prosody/prosody.initd | 43 ------------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 unstable/prosody/prosody.initd (limited to 'unstable/prosody/prosody.initd') diff --git a/unstable/prosody/prosody.initd b/unstable/prosody/prosody.initd deleted file mode 100644 index 1c88672b..00000000 --- a/unstable/prosody/prosody.initd +++ /dev/null @@ -1,43 +0,0 @@ -#!/sbin/runscript - -# Sample init.d file for alpine linux. - -NAME=prosody -DAEMON=/usr/bin/$NAME - -depend() { - need net -} - -start() { - ebegin "Starting ${NAME}" - /usr/bin/prosodyctl start -# start-stop-daemon --start --quiet --background \ -# --make-pidfile --pidfile /var/run/${NAME}/${NAME}.pid \ -# --chuid ${USER}:${GROUP} \ -# --exec ${DAEMON} -- ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping ${NAME}" - /usr/bin/prosodyctl stop -# start-stop-daemon --stop --quiet \ -# --exec ${DAEMON} \ -# --pidfile /var/run/${NAME}/${NAME}.pid \ - eend $? -} - -reload() { - ebegin "Reloading ${NAME}" - if ! service_started "${NAME}" ; then - eend 1 "${NAME} is not started" - return 1 - fi - /usr/bin/prosodyctl stop - /usr/bin/prosodyctl start -# start-stop-daemon --stop --oknodo --signal HUP \ -# --exec ${DAEMON} --pidfile /var/run/${NAME}/${NAME}.pid - eend $? -} - -- cgit v1.2.3