how to restart a service in ubuntu code example
Example 1: restart odoo service ubuntu
ls /etc/init.d | grep odoo
Example 2: restart odoo service ubuntu
./odoo-bin -u your_module_to_update -c /etc/odoo-server.conf
ls /etc/init.d | grep odoo
./odoo-bin -u your_module_to_update -c /etc/odoo-server.conf