#!/bin/sh
#
# $NetBSD: radicale.sh,v 1.1 2017/07/01 05:57:07 darcy Exp $
#
# PROVIDE: radicale
# REQUIRE: DAEMON
# KEYWORD: shutdown

$_rc_subr_loaded . /etc/rc.subr

name="radicale"
rcvar=$name
radicale_user=www
radicale_group=www
command="/usr/pkg/bin/radicale"
command_interpreter="/usr/pkg/bin/python3.11"
required_files="/usr/pkg/etc/radicale/config"

load_rc_config $name
run_rc_command "$1"
