×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Tony Perea
Added: Nov 16, 2011 11:45 AM
Views: 54
Tags: centos openerp
  1. if [ "`runlevel | awk '{ print $2 }'`" -gt "1" ]; then
  2.   su -c 'openerp-server -c ~/.openerp_serverrc' openerp &
  3.   su -c 'openerp-web -c /etc/openerp-web.conf' openerp &
  4. fi