restart odoo service ubuntu

C++
./odoo-bin -u your_module_to_update -c /etc/odoo-server.confls /etc/init.d | grep odoo
Source

Also in C++: