ubuntu:services:enabling_a_service_at_boot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:services:enabling_a_service_at_boot [2019/12/08 14:48] – peter | ubuntu: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 | ||
- | </ | ||
- | |||
- | This will create a symbolic link from the system’s copy of the service file (usually in / | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | update-rc.d service_name defaults | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | With **sysv-rc-conf** or **sysvconfig** | ||
- | |||
- | <code bash> | ||
- | 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)