We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts.
33 lines
504 B
Bash
33 lines
504 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: spreadlogd
|
|
# REQUIRE: spread
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable spread:
|
|
#
|
|
#spreadlogd_enable="YES"
|
|
#
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=spreadlogd
|
|
rcvar=`set_rcvar`
|
|
|
|
command="%%PREFIX%%/sbin/spreadlogd"
|
|
command_args=""
|
|
pidfile=/var/run/${name}.pid
|
|
required_files=%%PREFIX%%/etc/${name}.conf
|
|
|
|
# set defaults
|
|
|
|
spreadlogd_enable=${spreadlogd_enable:-"NO"}
|
|
spreadlogd_flags=${spreadlogd_flags:-""}
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|