diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 08:57:23 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-01-14 08:57:23 +0000 |
commit | 83eb2c37009874672764765ec3bf3b59286c7391 (patch) | |
tree | a956ace1a4a1e10876d4c36f12af02bc9df6cb29 /net/openmq | |
parent | 3c1484f2613137d7eaba8577f6d580c5532ac912 (diff) | |
download | ports-83eb2c37009874672764765ec3bf3b59286c7391.tar.gz ports-83eb2c37009874672764765ec3bf3b59286c7391.zip |
Notes
Diffstat (limited to 'net/openmq')
-rw-r--r-- | net/openmq/files/imq.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/openmq/files/imq.in b/net/openmq/files/imq.in index b7e82f832717..3036f9b83c61 100644 --- a/net/openmq/files/imq.in +++ b/net/openmq/files/imq.in @@ -40,17 +40,18 @@ # imq_brokerlist="hostname1:7676,hostname2:7676" # imq_memory="256m" -name="imq" . /etc/rc.subr -# set defaults +name="imq" +rcvar=imq_enable + +load_rc_config $name + imq_enable=${imq_enable:-"NO"} imq_data=${imq_data:-"/var/spool/imq"} imq_vmargs=${imq_vmargs:-"-Xms150m -Xss128k -Xbatch -XX:MaxGCPauseMillis=5000"} imq_memory=${imq_memory:-"256m"} -rcvar=`set_rcvar` -load_rc_config $name pidfile=/var/run/imq.pid start_cmd="${name}_start" start_precmd="${name}_build_cmdline" |