mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:59:24 +08:00
systemctl-*: reorder options (#18183)
This commit is contained in:
@@ -17,4 +17,4 @@
|
||||
|
||||
- Cancel a job in the user service manager:
|
||||
|
||||
`systemctl --user cancel {{job_id}}`
|
||||
`systemctl cancel --user {{job_id}}`
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Stop a service from running on boot and stop its current execution:
|
||||
|
||||
`systemctl disable {{unit}} --now`
|
||||
`systemctl disable --now {{unit}}`
|
||||
|
||||
- Stop a user service from running on login:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Enable a service to run on boot and start it now:
|
||||
|
||||
`systemctl enable {{unit}} --now`
|
||||
`systemctl enable --now {{unit}}`
|
||||
|
||||
- Enable a user unit to run on login:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Ensure that the service is shut down while masking:
|
||||
|
||||
`systemctl mask {{service_name}} --now`
|
||||
`systemctl mask --now {{service_name}}`
|
||||
|
||||
- Mask a user service:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
- Unmask and start a service immediately:
|
||||
|
||||
`systemctl unmask {{service_name}} --now`
|
||||
`systemctl unmask --now {{service_name}}`
|
||||
|
||||
- Unmask a user service:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user