diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-03-09 01:22:00 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-03-09 01:22:00 +0000 |
commit | 5c2b4ecb6348b040d56278b7e5a72d196bfc23f3 (patch) | |
tree | 6d242885dabfee84a2becfb9d453486da0db8cce /finance/openerp-server | |
parent | e0001aad64f61e1287f01589dfa883268faee655 (diff) | |
download | ports-5c2b4ecb6348b040d56278b7e5a72d196bfc23f3.tar.gz ports-5c2b4ecb6348b040d56278b7e5a72d196bfc23f3.zip |
- Improve RC scripts
Thanks to: dougb@freebsd.org
Notes
Notes:
svn path=/head/; revision=250744
Diffstat (limited to 'finance/openerp-server')
-rw-r--r-- | finance/openerp-server/files/openerpd.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/finance/openerp-server/files/openerpd.in b/finance/openerp-server/files/openerpd.in index 4adc8a0fae8e..ccd8c784bd8a 100644 --- a/finance/openerp-server/files/openerpd.in +++ b/finance/openerp-server/files/openerpd.in @@ -27,6 +27,8 @@ load_rc_config $name : ${openerpd_enable="NO"} : ${openerpd_config="%%PREFIX%%/etc/openerp-server.conf"} -command_args="-c /usr/local/bin/openerp-server.conf >/dev/null 2>&1 &" +required_files="$openerpd_config" + +command_args="-c $openerpd_config >/dev/null 2>&1 &" run_rc_command "$1" |