[UPD] refactoring and new scripts
This commit is contained in:
16
config/odoo12_service.conf
Normal file
16
config/odoo12_service.conf
Normal 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
|
Reference in New Issue
Block a user