diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-19 14:29:02 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-19 14:29:02 +0200 |
commit | fa9ed04997cc07d0782b79ec1929af2ac24e0045 (patch) | |
tree | fa160cd9b4dea3dadf68112431fe978cab65ebfb /nixos | |
parent | 82535e0f8fc485db52ff976b9ef7d11096a8dfa3 (diff) | |
download | nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.tar nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.tar.gz nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.tar.bz2 nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.tar.lz nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.tar.xz nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.tar.zst nixlib-fa9ed04997cc07d0782b79ec1929af2ac24e0045.zip |
Restart polkit if its configuration may have changed
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/polkit.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/security/polkit.nix b/nixos/modules/security/polkit.nix index 054d39c47853..5933cdc0cec3 100644 --- a/nixos/modules/security/polkit.nix +++ b/nixos/modules/security/polkit.nix @@ -63,6 +63,9 @@ in 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 environment.pathsToLink = [ "/share/polkit-1" ]; |