freebsd-ports/sysutils/tenshi/files/tenshi.in
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

31 lines
467 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: tenshi
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable `tenshi':
#
# tenshi_enable="YES"
. /etc/rc.subr
name='tenshi'
rcvar=tenshi_enable
load_rc_config "$name"
tenshi_enable="${tenshi_enable:-NO}"
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"