File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # systemctl set-property
2+
3+ > Set the specified unit properties at runtime.
4+ > More information: < https://www.freedesktop.org/software/systemd/man/systemctl.html#set-property%20UNIT%20PROPERTY=VALUE%E2%80%A6 > .
5+
6+ - Set a property for a running service:
7+
8+ ` systemctl set-property {{unit}} {{property}}={{value}} `
9+
10+ - Set multiple properties at once:
11+
12+ ` systemctl set-property {{unit}} {{property_1=value_1 property_2=value_2 ...}} `
13+
14+ - Set a property only for the current runtime session (not persistent):
15+
16+ ` systemctl set-property {{unit}} {{property}}={{value}} --runtime `
17+
18+ - Reset a property to its default value:
19+
20+ ` systemctl set-property {{unit}} {{property}}= `
21+
22+ - Reset multiple properties to its default values:
23+
24+ ` systemctl set-property {{unit}} {{property_1= property_2= ...}} `
You can’t perform that action at this time.
0 commit comments