2009-01-11 23:47:54 +01:00
|
|
|
#!@RCD_SCRIPTS_SHELL@
|
2003-03-22 11:15:27 +01:00
|
|
|
#
|
2009-01-11 23:47:54 +01:00
|
|
|
# $NetBSD: proftpd.sh,v 1.3 2009/01/11 22:47:54 shattered Exp $
|
2003-03-22 11:15:27 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: proftpd
|
|
|
|
# REQUIRE: DAEMON LOGIN network
|
|
|
|
# KEYWORD: shutdown
|
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="proftpd"
|
|
|
|
rcvar=$name
|
|
|
|
command="@PREFIX@/sbin/${name}"
|
2005-06-23 00:43:37 +02:00
|
|
|
pidfile="@VARBASE@/run/${name}.pid"
|
2003-03-22 11:15:27 +01:00
|
|
|
required_files="@PKG_SYSCONFDIR@/proftpd.conf"
|
2009-01-11 23:47:54 +01:00
|
|
|
extra_commands="reload"
|
2003-03-22 11:15:27 +01:00
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|