summaryrefslogtreecommitdiff
path: root/www-apps/radicale/files/radicale.init.d
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/radicale/files/radicale.init.d')
-rw-r--r--www-apps/radicale/files/radicale.init.d26
1 files changed, 0 insertions, 26 deletions
diff --git a/www-apps/radicale/files/radicale.init.d b/www-apps/radicale/files/radicale.init.d
deleted file mode 100644
index a59e8d3..0000000
--- a/www-apps/radicale/files/radicale.init.d
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/radicale.pid
-
-depend() {
- use net
- need localmount
-}
-
-start() {
- ebegin "Starting radicale"
- start-stop-daemon --start --quiet --background \
- --user radicale \
- --pidfile ${PIDFILE} --make-pidfile \
- --exec /usr/bin/radicale -- --foreground
- eend $?
-}
-
-stop() {
- ebegin "Stopping radicale"
- start-stop-daemon --stop --quiet \
- --pidfile ${PIDFILE}
- eend $?
-}