You are not logged in.
Hi everyone,
Arch's systemd is build with '--without-kill-user-processes', so the KillUserProcesses property for systemd-logind is set to false by default.
I want to override this property with a drop-in .conf file (see https://www.freedesktop.org/software/sy … onf.d.html ):
So I created /etc/systemd/logind.conf.d/killuserprocesses.conf:
[Login]
KillUserProcesses=true
But it doesn't work. I don't see the property in the output of systemctl show systemd-logind whether it's overridden or not.
I don't even see it when I remove the whole drop-in folder.
Does anybody else had this problem?
Thanks for any hint!
Edit: marked as solved.
Last edited by frank (2016-06-09 14:59:54)
Offline
`systemctl show` shows the properties of the unit. For comparison: you won't be able to see configuration data from sshd_config with `systemctl show sshd.service`.
You can check the value of the property via dbus (not sure if there's an easier way):
$ busctl get-property org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager KillUserProcesses
Last edited by Raynman (2016-06-09 12:19:35)
Offline
Ups, now that makes sense.
It works, thanks for the explanation!
Offline