Browse Source

new: added ``oe`` command installation for ``openerp`` lxc. Tweaked the ``openerp-server.conf`` file.

postgres
root 11 years ago
parent
commit
a9719ac50f
  1. 4
      precise/openerp/etc/openerp-server.conf
  2. 16
      precise/openerp/hooks/install

4
precise/openerp/etc/openerp-server.conf

@ -5,7 +5,7 @@
; !! Keep this file secure !! ; !! Keep this file secure !!
admin_passwd = atptsfOPratcads admin_passwd = atptsfOPratcads
root_path = /opt/apps/openobject-server/bin
root_path = /opt/apps/0k-oe/openobject-server/bin
without_demo = False without_demo = False
verbose = False verbose = False
@ -39,7 +39,7 @@ netrpc_port = 8070
;secure_cert_file = /etc/ssl/openerp/server.crt ;secure_cert_file = /etc/ssl/openerp/server.crt
; Log settings ; Log settings
logfile = /var/log/openerp/openerp-server.log
;logfile = /var/log/openerp/openerp-server.log
syslog = False syslog = False
logrotate = True logrotate = True
log_level = info log_level = info

16
precise/openerp/hooks/install

@ -145,3 +145,19 @@ ln -sf /var/openerp-filestore filestore &&
cd /var/openerp-filestore && cd /var/openerp-filestore &&
chown openerp . chown openerp .
) )
##
## Install 0k-manage for the handy oe command
##
(
cd /opt/apps &&
git clone $GIT_CLONE_OPTIONS "$GIT_BASE/0k/0k-manage.git" &&
cd /opt/apps/0k-manage &&
git checkout 0k/prod/master &&
## beurk
ln -sf "/opt/apps/0k-manage/src/bin/oe" "/usr/local/bin/oe"
)
Loading…
Cancel
Save