1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 23:42:07 +02:00
tldr/pages/linux/systemctl-enable.md
Managor e5f1ef3034
systemctl-{enable, disable}: add page (#15954)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-03-17 12:11:01 +02:00

317 B

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