File tree 4 files changed +18
-14
lines changed
4 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 10
10
11
11
- Change to a specific runlevel, but don't stop any existing services:
12
12
13
- ` sudo openrc -- no-stop {{runlevel_name}} `
13
+ ` sudo openrc {{[-n|-- no-stop]}} {{runlevel_name}} `
Original file line number Diff line number Diff line change 22
22
23
23
- Simulate running a service's custom command:
24
24
25
- ` sudo rc-service -- dry-run {{service_name}} {{command_name}} `
25
+ ` sudo rc-service {{[-Z|-- dry-run]}} {{service_name}} {{command_name}} `
26
26
27
27
- Actually run a service's custom command:
28
28
29
29
` sudo rc-service {{service_name}} {{command_name}} `
30
30
31
31
- Resolve the location of a service definition on disk:
32
32
33
- ` sudo rc-service -- resolve {{service_name}} `
33
+ ` sudo rc-service {{[-r|-- resolve]}} {{service_name}} `
Original file line number Diff line number Diff line change 10
10
11
11
- Include services in all runlevels in the summary:
12
12
13
- ` rc-status -- all `
13
+ ` rc-status {{[-a|-- all]}} `
14
14
15
15
- List services that have crashed:
16
16
17
- ` rc-status -- crashed `
17
+ ` rc-status {{[-c|-- crashed]}} `
18
18
19
19
- List manually started services:
20
20
21
- ` rc-status -- manual `
21
+ ` rc-status {{[-m|-- manual]}} `
22
22
23
23
- List supervised services:
24
24
25
- ` rc-status -- supervised `
25
+ ` rc-status {{[-S|-- supervised]}} `
26
26
27
- - Get the current runlevel:
27
+ - Display the current runlevel:
28
28
29
- ` rc-status -- runlevel `
29
+ ` rc-status {{[-r|-- runlevel]}} `
30
30
31
31
- List all runlevels:
32
32
33
- ` rc-status -- list `
33
+ ` rc-status {{[-l|-- list]}} `
Original file line number Diff line number Diff line change 4
4
> See also ` openrc ` .
5
5
> More information: < https://manned.org/rc-update > .
6
6
7
- - List all services and the runlevels they are added to:
7
+ - List enabled services and the runlevels they are added to:
8
8
9
- ` rc-update show `
9
+ ` rc-update `
10
+
11
+ - List all services:
12
+
13
+ ` rc-update {{[-v|--verbose]}} `
10
14
11
15
- Add a service to a runlevel:
12
16
13
17
` sudo rc-update add {{service_name}} {{runlevel}} `
14
18
15
19
- Delete a service from a runlevel:
16
20
17
- ` sudo rc-update delete {{service_name}} {{runlevel}} `
21
+ ` sudo rc-update {{[del| delete]}} {{service_name}} {{runlevel}} `
18
22
19
23
- Delete a service from all runlevels:
20
24
21
- ` sudo rc-update -- all delete {{service_name}} `
25
+ ` sudo rc-update {{[-a|-- all]}} {{[del| delete]}} {{service_name}} `
You can’t perform that action at this time.
0 commit comments