2013-09-26 17:14:40 +02:00

23 lines
438 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: quickml.sh,v 1.1.1.1 2011/06/19 10:01:53 obache Exp $
#
# PROVIDE: quickml
# REQUIRE: LOGIN
#
# Add the following lines to /etc/rc.conf to enable this service:
#
# quickml=YES
. /etc/rc.subr
name="quickml"
rcvar=$name
command="@PREFIX@/sbin/${name}"
command_interpreter="@RUBY@"
pidfile="@VARBASE@/run/${name}.pid"
required_files=@PKG_SYSCONFDIR@/quickmlrc
load_rc_config ${name}
run_rc_command "$1"