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:
parent
dd7c9ffcc4
commit
e5f1ef3034
2 changed files with 24 additions and 0 deletions
12
pages/linux/systemctl-enable.md
Normal file
12
pages/linux/systemctl-enable.md
Normal 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`
|
12
pages/linux/systemd-disable.md
Normal file
12
pages/linux/systemd-disable.md
Normal 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`
|
Loading…
Add table
Reference in a new issue