freebsd-ports/sysutils/tenshi/files/tenshi.in

32 lines
467 B
Text
Raw Normal View History

2004-07-21 22:03:52 +02:00
#!/bin/sh
2004-07-21 22:03:52 +02:00
# $FreeBSD$
#
# PROVIDE: tenshi
# REQUIRE: LOGIN
# KEYWORD: shutdown
2004-07-21 22:03:52 +02:00
#
# Add the following lines to /etc/rc.conf to enable `tenshi':
2004-07-21 22:03:52 +02:00
#
# tenshi_enable="YES"
2004-07-21 22:03:52 +02:00
. /etc/rc.subr
2004-07-21 22:03:52 +02:00
name='tenshi'
rcvar=tenshi_enable
load_rc_config "$name"
tenshi_enable="${tenshi_enable:-NO}"
2004-07-21 22:03:52 +02:00
extra_commands='reload'
command='%%PREFIX%%/bin/tenshi'
command_interpreter='%%PERL%%'
pidfile='/var/run/tenshi.pid'
required_files='%%PREFIX%%/etc/tenshi.conf'
run_rc_command "$1"