polkit: Restart using systemctl

The use of pkill is now particularly bad due to containers (it might
kill processes in containers).
This commit is contained in:
Eelco Dolstra 2014-04-28 12:01:10 +02:00
parent 62b883070b
commit 379c8ba237

View File

@ -101,7 +101,7 @@ in
# Force polkitd to be restarted so that it reloads its
# configuration.
${pkgs.procps}/bin/pkill -INT -u root -x polkitd
${config.systemd.package}/bin/systemctl try-restart polkit.service
'';
users.extraUsers.polkituser = {