Correcting user handling in init script and config file (Closes: #513263, #516348).

bzr revid: p_christ@hol.gr-20090602171534-xb617h9hef305nog
This commit is contained in:
Daniel Baumann 2009-06-02 20:15:34 +03:00 committed by P. Christeas
parent acd61c2ffb
commit e28f672d5e
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,9 @@ logfile = /var/log/openerp.log
# If empty, it will bind on all interfaces (default empty).
interface = localhost
# The unix account on behalf openerp is running.
process_user = openerp
# The TCP port on which the server will listen (default 8069).
port = 8069

View File

@ -17,6 +17,8 @@ DAEMON=/usr/bin/openerp-server
NAME=openerp-server
DESC=openerp-server
USER=openerp
test -x ${DAEMON} || exit 0
set -e