22 lines
509 B
Bash
22 lines
509 B
Bash
#!/bin/sh
|
|
|
|
### BEGIN INIT INFO
|
|
# Provides: radicale
|
|
# Required-Start: $remote_fs $network
|
|
# Required-Stop: $remote_fs $network
|
|
# Default-Start: 2 3 4 5
|
|
# Default-Stop: 0 1 6
|
|
# Description: Radicale CalDAV server
|
|
# X-Author: Adrian Kousz, 2014
|
|
### END INIT INFO
|
|
|
|
USER=radicale
|
|
PIDFILE=/run/radicale.pid
|
|
LOGFILE=/var/log/radicale/startup.log
|
|
PRIO=8
|
|
UMASK=02
|
|
|
|
CMD="radicale -C /home/data/radicale/config"
|
|
|
|
/etc/inithelpers/regular.sh "$1" "$PIDFILE" "$LOGFILE" "$USER" "$CMD" "$PRIO" "$UMASK"
|