diff options
author | bapt <bapt@FreeBSD.org> | 2011-04-24 01:29:10 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-04-24 01:29:10 +0800 |
commit | e2fd3b8af762885090e825635fd002c1851c295e (patch) | |
tree | 54011f133f2941ffb8a305552ddfae7984363d3b | |
parent | 3bc1254325e74a440de91dd7b4e5980b27a68b55 (diff) | |
download | freebsd-ports-gnome-e2fd3b8af762885090e825635fd002c1851c295e.tar.gz freebsd-ports-gnome-e2fd3b8af762885090e825635fd002c1851c295e.tar.zst freebsd-ports-gnome-e2fd3b8af762885090e825635fd002c1851c295e.zip |
More cleanup in rc script
Submitted by: dougb@ (mail)
-rw-r--r-- | www/perlbal/files/perlbal.in | 8 |
1 files 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" |