systemctl set-property nginx.service CPUQuota=50%

Category: Administration

systemctl set-property nginx.service CPUQuota=50%

Change a unit property at runtime

Applies a runtime property, here a 50 percent CPU quota, to the nginx service without editing its unit file. The change persists under /etc/systemd/system.control and can be read back with systemctl show. Not all properties support runtime assignment.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.