User Tools

Site Tools


ubuntu:services:enabling_a_service_at_boot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:services:enabling_a_service_at_boot [2019/12/08 14:48] peterubuntu:services:enabling_a_service_at_boot [2019/12/08 15:07] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - Services - Enabling a service at boot ====== 
- 
-To start a service at boot, use the enable command: 
- 
-<code bash> 
-sudo systemctl enable application.service 
-</code> 
- 
-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). 
- 
----- 
- 
-<code bash> 
-update-rc.d service_name defaults 
-</code> 
- 
----- 
- 
-With **sysv-rc-conf** or **sysvconfig** 
- 
-<code bash> 
-sysv-rc-conf service_name on 
-</code> 
  
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