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:
parent
62b883070b
commit
379c8ba237
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user