Add rc script, and launch as daemon by default. 1.0.1 ===== * Update the version because of a **stupid** "feature"(TM) of PyPI 1.0 - Sunflower =============== * Enhanced performances (by Mathieu Dupuy) * Add MD5-APR1 and BCRYPT for htpasswd-based authentication (by Jan-Philip Gehrcke) * Use PAM service (by Stephen Paul Weber) * Don't discard PROPPATCH on empty collections (Markus Unterwaditzer) * Write the path of the collection in the git message (Matthew Monaco) * Tests launched on Travis
20 lines
427 B
Bash
20 lines
427 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: radicale.sh,v 1.1 2015/09/25 16:49:32 prlw1 Exp $
|
|
#
|
|
# PROVIDE: radicale
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
name="radicale"
|
|
rcvar=$name
|
|
radicale_user=@RADICALE_USER@
|
|
radicale_group=@RADICALE_GROUP@
|
|
command="@PREFIX@/bin/radicale"
|
|
command_interpreter="@PYTHONBIN@"
|
|
required_files="@PKG_SYSCONFDIR@/radicale/config"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|