1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 08:15:28 +02:00

systemctl-{enable, disable}: add page (#15954)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Managor 2025-03-17 12:11:01 +02:00 committed by GitHub
parent dd7c9ffcc4
commit e5f1ef3034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# 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`

View file

@ -0,0 +1,12 @@
# systemctl disable
> Disable systemd services.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#disable%20UNIT%E2%80%A6>.
- Stop a service from running on boot:
`systemctl disable {{unit}}`
- Stop a service from running on boot and stop its current execution:
`systemctl disable {{unit}} --now`