Files
tldr/pages/linux/systemctl-enable.md
T
Managor c46487fe78 systemctl-*: add user unit examples (#18007)
* Update systemctl-cat.md

* Update systemctl-edit.md

* Update systemctl-mask.md

* Update systemctl-stop.md

* Update systemctl-start.md

* Update systemctl-enable.md

* Update systemctl-status.md

* Update systemctl-disable.md

* Update systemctl-restart.md

* Update systemctl-enable.md
2025-09-07 16:32:59 -07:00

385 B

systemctl enable

Enable systemd services. More information: https://www.freedesktop.org/software/systemd/man/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

  • Enable a user unit to run on login:

systemctl enable --user {{unit}}