User Tools

Site Tools


ubuntu:services:enabling_a_service_at_boot

This is an old revision of the document!


Ubuntu - Services - Enabling a service at boot

To start a service at boot, use the enable command:

sudo systemctl enable application.service

This will create a symbolic link from the system’s copy of the service file (usually in /lib/systemd/system or /etc/systemd/system) into the location on disk where systemd looks for autostart files (usually /etc/systemd/system/some_target.target.wants).


update-rc.d service_name defaults

With sysv-rc-conf or sysvconfig

sysv-rc-conf service_name on
ubuntu/services/enabling_a_service_at_boot.1575816480.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki