From e2fd3b8af762885090e825635fd002c1851c295e Mon Sep 17 00:00:00 2001 From: bapt Date: Sat, 23 Apr 2011 17:29:10 +0000 Subject: More cleanup in rc script Submitted by: dougb@ (mail) --- www/perlbal/files/perlbal.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/perlbal/files/perlbal.in b/www/perlbal/files/perlbal.in index e4250e5d7881..fd1731f8d931 100644 --- a/www/perlbal/files/perlbal.in +++ b/www/perlbal/files/perlbal.in @@ -4,7 +4,7 @@ # # PROVIDE: perlbal -# REQUIRE: DAEMON +# REQUIRE: LOGIN # KEYWORK: shutdown . /etc/rc.subr @@ -13,9 +13,13 @@ name="perlbal" command="%%PREFIX%%/bin/perlbal" load_rc_config "$name" + : ${perlbal_enable="NO"} : ${perlbal_configuration="%%PREFIX%%/etc/perlbal/perlbal.conf"} -: ${perlbal_flags="--config $perlbal_configuration --daemon"} + +required_files="$perlbal_configuration" + +command_args="--config $required_files --daemon" run_rc_command "$1" -- cgit