summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/cancd/files/cancd-init.d')
-rw-r--r--app-admin/cancd/files/cancd-init.d22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-admin/cancd/files/cancd-init.d b/app-admin/cancd/files/cancd-init.d
deleted file mode 100644
index eb0d34e1a2ee..000000000000
--- a/app-admin/cancd/files/cancd-init.d
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- mkdir -p ${CRASH_DIR}
- chown ${CHUID} ${CRASH_DIR}
- chmod 700 ${CRASH_DIR}
- ebegin "Starting cancd"
- start-stop-daemon --start --quiet --user ${CHUID} --exec /usr/sbin/cancd -- -p ${CANCD_PORT} -l "${CRASH_DIR}" -o "${CRASH_FORMAT}"
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping cancd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/cancd
- eend ${?}
-}