[UPD] refactoring and new scripts

This commit is contained in:
Ivan Bock
2020-11-02 20:04:04 +01:00
parent 3e71de1cfb
commit 68cce3aa88
9 changed files with 182 additions and 81 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Odoo
Requires=postgresql.service
After=network.target postgresql.service
[Service]
Type=simple
SyslogIdentifier=odoo
PermissionsStartOnly=true
User=ubuntu
Group=ubuntu
ExecStart=/home/ubuntu/venv-odoo12/bin/python3 /home/ubuntu/odoo12/odoo-bin -c /etc/odoo12.conf
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target