From a9719ac50f7feff9cac6ef3074ddfc0db73075db Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Aug 2013 09:40:05 +0200 Subject: [PATCH] new: added ``oe`` command installation for ``openerp`` lxc. Tweaked the ``openerp-server.conf`` file. --- precise/openerp/etc/openerp-server.conf | 4 ++-- precise/openerp/hooks/install | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/precise/openerp/etc/openerp-server.conf b/precise/openerp/etc/openerp-server.conf index d5d08b62..c0ad8254 100644 --- a/precise/openerp/etc/openerp-server.conf +++ b/precise/openerp/etc/openerp-server.conf @@ -5,7 +5,7 @@ ; !! Keep this file secure !! admin_passwd = atptsfOPratcads -root_path = /opt/apps/openobject-server/bin +root_path = /opt/apps/0k-oe/openobject-server/bin without_demo = False verbose = False @@ -39,7 +39,7 @@ netrpc_port = 8070 ;secure_cert_file = /etc/ssl/openerp/server.crt ; Log settings -logfile = /var/log/openerp/openerp-server.log +;logfile = /var/log/openerp/openerp-server.log syslog = False logrotate = True log_level = info diff --git a/precise/openerp/hooks/install b/precise/openerp/hooks/install index 1eb814b0..637bceea 100755 --- a/precise/openerp/hooks/install +++ b/precise/openerp/hooks/install @@ -145,3 +145,19 @@ ln -sf /var/openerp-filestore filestore && cd /var/openerp-filestore && 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" +) +