mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
13 lines
317 B
Markdown
13 lines
317 B
Markdown
![]() |
# systemctl enable
|
||
|
|
||
|
> Enable systemd services.
|
||
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#enable%20UNIT%E2%80%A6>.
|
||
|
|
||
|
- Enable a service to run on boot:
|
||
|
|
||
|
`systemctl enable {{unit}}`
|
||
|
|
||
|
- Enable a service to run on boot and start it now:
|
||
|
|
||
|
`systemctl enable {{unit}} --now`
|