Restart polkit if its configuration may have changed

This commit is contained in:
Eelco Dolstra 2014-04-19 14:29:02 +02:00
parent 82535e0f8f
commit fa9ed04997

View File

@ -63,6 +63,9 @@ in
systemd.packages = [ pkgs.polkit ]; systemd.packages = [ pkgs.polkit ];
systemd.services.polkit.restartTriggers = [ config.system.path ];
systemd.services.polkit.unitConfig.X-StopIfChanged = false;
# The polkit daemon reads action/rule files # The polkit daemon reads action/rule files
environment.pathsToLink = [ "/share/polkit-1" ]; environment.pathsToLink = [ "/share/polkit-1" ];