added latest-and-greatest version of radicale!
This commit is contained in:
parent
5b4e576cd5
commit
e2d3a37476
3 changed files with 83 additions and 0 deletions
26
app-office/radicale/files/radicale.init.d
Normal file
26
app-office/radicale/files/radicale.init.d
Normal 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 $?
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue