1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Improve RC scripts

Thanks to:	dougb@freebsd.org
This commit is contained in:
Wen Heping 2010-03-09 01:22:00 +00:00
parent e0001aad64
commit 5c2b4ecb63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250744
2 changed files with 6 additions and 2 deletions

View File

@ -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"

View File

@ -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"