1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-14 04:55:41 +02:00
tldr/pages/linux/systemctl-enable.md
2025-08-10 13:53:13 +03:00

310 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