#!/bin/sh
#
# $NetBSD: proftpd.sh,v 1.3 2009/01/11 22:47:54 shattered Exp $
#

# PROVIDE: proftpd
# REQUIRE: DAEMON LOGIN network
# KEYWORD: shutdown

. /etc/rc.subr

name="proftpd"
rcvar=$name
command="/usr/pkg/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/usr/pkg/etc/proftpd.conf"
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"
