LinuxCommandLibrary

systemctl-set-property

Modify unit properties at runtime

TLDR

Set unit property
$ systemctl set-property [unit] [property]=[value]
copy
Set multiple properties
$ systemctl set-property [unit] [prop1=val1 prop2=val2 ...]
copy
Set for runtime only
$ systemctl set-property [unit] [property]=[value] --runtime
copy
Reset to default
$ systemctl set-property [unit] [property]=
copy

SYNOPSIS

systemctl set-property UNIT PROPERTY=VALUE...

DESCRIPTION

systemctl set-property modifies unit properties at runtime. By default, changes are persistent and stored in drop-in files under `/etc/systemd/system/<unit>.d/`.
Common properties include CPUQuota, MemoryMax, IOWeight, and other resource control settings.

PARAMETERS

--runtime

Make changes temporary (cleared on reboot)

COMMON PROPERTIES

CPUQuota= - CPU time limit (e.g., 50%)
MemoryMax= - Memory limit
IOWeight= - I/O priority
TasksMax= - Maximum tasks

CAVEATS

Some properties cannot be changed at runtime. Persistent changes are stored as drop-in files. Use `systemctl revert` to remove custom properties.

HISTORY

The set-property subcommand enables runtime resource control adjustments, supporting dynamic system tuning without service restarts.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard