Next, we will want to set up Odoo as a system service and have it started automatically when the system boots.
In Ubuntu/Debian, the init system is responsible for starting services. Historically, Debian (and derived operating systems) has used sysvinit, and Ubuntu has used a compatible system called Upstart. Recently, this has changed, and the init system used in the latest version is now systemd.
This means that there are two different ways to install a system service, and you need to pick the correct one depending on the version of your operating system.
On the last Ubuntu LTS (long term support) version, 16.04, we should be using systemd. However, older versions such as 14.04 are still used in many ...