#!/bin/sh
#
# $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="/usr/pkg/sbin/${name}"
command_interpreter="/usr/pkg/bin/ruby40"
pidfile="/var/run/${name}.pid"
required_files=/usr/pkg/etc/quickmlrc

load_rc_config ${name}
run_rc_command "$1"
