commands.sh

systemctl set-property

linux

Set the specified unit properties at runtime. See also: `systemctl revert`.

More info →

Examples (5)

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= ...
made by @shridhargupta | data from tldr-pages