[systemd-devel] Query regards to undefine property

Lennart Poettering lennart at poettering.net
Wed Jan 27 04:15:28 PST 2016


On Tue, 26.01.16 23:25, Mohit Agrawal (moagrawa at redhat.com) wrote:

> Hi Lennart,
> 
>   Thank you very much for your reply.After set cgroup property to -1 it is showing value is updated in systemctl output
>   systemctl show properties sshd.service -p CPUShares
>   CPUShares=18446744073709551615
> 
>   but value is not updated in cgroup configuration in below file,
>   cat cpu,cpuacct/system.slice/sshd.service/cpu.shares
> 500
> 
>   How we can set the default value in this file without restart systemd daemon or it will be done after implement the "systemctl revert <unit-file>" feature in systemd.

Which version of systemd are you using?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list