Last active
August 9, 2023 02:46
-
-
Save ray-odoo/f939f32725668a4cbd31fcd77be57fb0 to your computer and use it in GitHub Desktop.
Odoo Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.odoo.com/forum/help-1/odoo-10-runs-via-odoo-bin-but-cannot-get-to-run-as-a-service-is-this-a-systemd-upstart-thing-112460 | |
/etc/systemd/system/odoo.service | |
[Unit] | |
Description=Odoo | |
Documentation=http://www.odoo.com/ | |
[Service] | |
# Ubuntu/Debian convention: | |
Type=simple | |
User=ubuntu | |
ExecStart=/opt/odoo/odoo-bin -c /etc/odoo.conf | |
[Install] | |
WantedBy=default.target | |
sudo systemctl start odoo.service (starts service) | |
sudo systemctl stop odoo.service (stops service) | |
sudo systemctl restart odoo.service (restarts Service) | |
sudo systemctl status odoo.service (status of service) | |
sudo systemctl enable odoo.service (starts service at boot) | |
sudo systemctl disable odoo.service (disables service at boot) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment