diff options
Diffstat (limited to 'apps/sys-apps/areca-http/files/areca-http-initd')
-rw-r--r-- | apps/sys-apps/areca-http/files/areca-http-initd | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/apps/sys-apps/areca-http/files/areca-http-initd b/apps/sys-apps/areca-http/files/areca-http-initd deleted file mode 100644 index 7a4a1fe..0000000 --- a/apps/sys-apps/areca-http/files/areca-http-initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - need net -} - -start() { - ebegin "Starting ${SVCNAME}" - - if [[ -f "/var/run/${SVCNAME}.pid" ]] ; then - rm -f "/var/run/${SVCNAME}.pid" - fi - - start-stop-daemon \ - --start \ - --background \ - --make-pidfile \ - --pidfile "/var/run/${SVCNAME}.pid" \ - --exec /usr/sbin/areca-http - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - - start-stop-daemon \ - --stop \ - --signal 9 \ - --pidfile "/var/run/${SVCNAME}.pid" \ - --exec /usr/sbin/areca-http - eend $? -} |