Closed moylop260 closed 7 years ago
@ruiztulio Any clue?
Can help us supervisor
for this focus?
@moylop260 Yes, the only point where you need to be root is to start supervisor, then it can start any service you configure here, maybe started in the entry point, but the supervisor process have to start as root
I got it Thanks
We are looking for if is posible start the ssh service from runbot using;
docker exec -it --user=root CONTAINER_ID /etc/init.d/ssh start
This feature will be worked from https://github.com/Vauxoo/runbot-addons/pull/93
Currently running the following command:
docker run --rm -it --user=odoo vauxoo/odoo-80-image-shippable-auto /etc/init.d/ssh start
Show the following error:
mkdir: cannot create directory ‘/var/run/sshd’: Permission denied
Currently, odoo is not a sudoers user and It can't run
sudo
command. That is fine.Now we need a special access to start ssh service for odoo user in order to enable it from runbot builds.