added latest-and-greatest version of radicale!

This commit is contained in:
Manuel Friedli 2011-11-12 17:49:14 +00:00
parent 5b4e576cd5
commit e2d3a37476
3 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
PIDFILE=/var/run/radicale.pid
depend() {
use net
need localmount
}
start() {
ebegin "Starting radicale"
start-stop-daemon --start --quiet --background \
--pidfile ${PIDFILE} --make-pidfile \
--exec /usr/bin/radicale -- --foreground
eend $?
}
stop() {
ebegin "Stopping radicale"
start-stop-daemon --stop --quiet \
--pidfile ${PIDFILE}
eend $?
}