summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmery Hemingway <emery@vfemail.net>2014-10-16 10:54:12 -0400
committerEmery Hemingway <emery@vfemail.net>2014-10-16 10:57:16 -0400
commit32d6ae7ed9a866e56a507aea28ea0ea7ada57002 (patch)
tree081f92c11d255a246aa52ffc931d308363dbdda4
parenta3e5eca153c2566fb6203ee6e1e811772835105b (diff)
downloadnixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.tar
nixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.tar.gz
nixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.tar.bz2
nixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.tar.lz
nixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.tar.xz
nixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.tar.zst
nixpkgs-32d6ae7ed9a866e56a507aea28ea0ea7ada57002.zip
drop permission prestart from polipo service module
chowning the cache directory can timeout the service, permissions
on this directory should never change without user intervention
-rw-r--r--nixos/modules/services/networking/polipo.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/polipo.nix b/nixos/modules/services/networking/polipo.nix
index 05ded84625d..51179d9120f 100644
--- a/nixos/modules/services/networking/polipo.nix
+++ b/nixos/modules/services/networking/polipo.nix
@@ -103,12 +103,8 @@ in
       description = "caching web proxy";
       after = [ "network.target" "nss-lookup.target" ];
       wantedBy = [ "multi-user.target"];
-      preStart = ''
-         ${pkgs.coreutils}/bin/chown polipo:polipo /var/cache/polipo -R
-      '';
       serviceConfig = {
         ExecStart  = "${pkgs.polipo}/bin/polipo -c ${polipoConfig}";
-        ExecReload = "${pkgs.coreutils}/bin/kill -USR1 $MAINPID";
         User = "polipo";
       };
     };