diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-04-23 07:32:55 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-04-23 07:32:55 +0000 |
commit | db18706044ead7f7d182bf7a60f2c5c05a559830 (patch) | |
tree | a45a92a1a6cd5bbc739cf1f31669f1112ecfc325 /www/perlbal/files | |
parent | c729a0f01be33ed23a69150ba2cdeae8866ec31e (diff) | |
download | ports-db18706044ead7f7d182bf7a60f2c5c05a559830.tar.gz ports-db18706044ead7f7d182bf7a60f2c5c05a559830.zip |
- fix rc script: use --config instead of -f and --daemon instead of & [1]
while here:
- move configuration to perlbal subdirectory (as upstream recommands)
- s,/etc/perlbal,${PREFIX}/etc/perlbal,g in doc and code for consistency
- add a new dependency on p5-IO-AIO
PR: ports/156559
Submitted by: Dean Matzkov <bapabooiee _at_ gmail.com>
Notes
Notes:
svn path=/head/; revision=273089
Diffstat (limited to 'www/perlbal/files')
-rw-r--r-- | www/perlbal/files/perlbal.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/perlbal/files/perlbal.in b/www/perlbal/files/perlbal.in index 8a1dc2dddda9..e4250e5d7881 100644 --- a/www/perlbal/files/perlbal.in +++ b/www/perlbal/files/perlbal.in @@ -5,6 +5,7 @@ # PROVIDE: perlbal # REQUIRE: DAEMON +# KEYWORK: shutdown . /etc/rc.subr @@ -13,7 +14,8 @@ command="%%PREFIX%%/bin/perlbal" load_rc_config "$name" : ${perlbal_enable="NO"} -: ${perlbal_flags="-f /usr/local/etc/perlbal.conf &"} +: ${perlbal_configuration="%%PREFIX%%/etc/perlbal/perlbal.conf"} +: ${perlbal_flags="--config $perlbal_configuration --daemon"} run_rc_command "$1" |