mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 08:46:21 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/linux/systemctl-reenable
Normal file
22
tldr/linux/systemctl-reenable
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl reenable
|
||||
|
||||
> Re-enable one or more units.
|
||||
> Used when targets of a service change.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reenable%20UNIT%E2%80%A6>.
|
||||
|
||||
- Re-enable a unit, restoring its default symlinks:
|
||||
|
||||
`systemctl reenable {{unit}}`
|
||||
|
||||
- Re-enable multiple units at once:
|
||||
|
||||
`systemctl reenable {{unit1 unit2 ...}}`
|
||||
|
||||
- Re-enable a unit and start it immediately:
|
||||
|
||||
`systemctl reenable {{unit}} --now`
|
||||
Reference in New Issue
Block a user