Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4034 Представления

Hello! People.

I installed the script from a tutorial here, and at the end i should run 

sudo su odoo

cd /opt/odoo/v8/server/

./openerp-server -c /etc/openerp-server.conf &

to start the application,

and my question is there is a way to start it automatically? with the tutorials for v7 there was a way to start it as a service so when the computer was on, openerp should be runing. i would like some help thx!

Аватар
Отменить
Лучший ответ

You should look for a "daemon" script. That is the general way to start things in linux. It should be put into the /etc/init.d directory (At least on debian-like distro's).

While you are at it, run update-rc.d on the service to make sure that it will automatically start at bootup.

This seems like a nice script:

http://toolkt.com/site/openerp-v7-0-installation-on-ubuntu-12-04/

Аватар
Отменить