Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-08 00:19:07 +00:00
parent ba165f8d8e
commit 9dd7a2e5d6
15 changed files with 268 additions and 7 deletions

View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl set-property
> Set the specified unit properties at runtime.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#set-property%20UNIT%20PROPERTY=VALUE%E2%80%A6>.
- Set a property for a running service:
`systemctl set-property {{unit}} {{property}}={{value}}`
- Set multiple properties at once:
`systemctl set-property {{unit}} {{property_1=value_1 property_2=value_2 ...}}`
- Set a property only for the current runtime session (not persistent):
`systemctl set-property {{unit}} {{property}}={{value}} --runtime`
- Reset a property to its default value:
`systemctl set-property {{unit}} {{property}}=`
- Reset multiple properties to its default values:
`systemctl set-property {{unit}} {{property_1= property_2= ...}}`