[systemd-devel] Query regards to undefine property

Mohit Agrawal moagrawa at redhat.com
Wed Jan 27 04:22:04 PST 2016


Hi,

I am using systemd-219-19.el7 version.

rpm -qa | grep systemd
systemd-libs-219-19.el7.x86_64
systemd-219-19.el7.x86_64
systemd-sysv-219-19.el7.x86_64


Regards
Mohit Agrawal

----- Original Message -----
From: "Lennart Poettering" <lennart at poettering.net>
To: "Mohit Agrawal" <moagrawa at redhat.com>
Cc: systemd-devel at lists.freedesktop.org
Sent: Wednesday, January 27, 2016 5:45:28 PM
Subject: Re: [systemd-devel] Query regards to undefine property

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