nixpkgs/nixos/modules
Christian Kauhaus ea7e705cd9 varnish: fix localstatedir for varnish* tools (#17508)
The varnish tools (varnishstat, varnishlog, ...) tried to load the VSM
file from a spurious var directory in the Nix store. Fix the default so
the tools "just work" when also keeping services.varnish.stateDir at the
default.

Notes:
- The tools use $localstatedir/$HOSTNAME so I've adapted the default for
  stateDir as well to contain hostName.
- Added postStop action to remove the localstatedir. There is no point
  in keeping it around when varnish does not run, as it regenerates it
  on startup anyway.

Fixes #7495
2016-08-04 15:25:23 +02:00
..
config nixos/pulseaudio: increase service restart time 2016-07-30 23:42:54 +02:00
hardware nixos ati_unfree: auto-switch xorg to fglrxComat 2016-05-23 10:12:44 +02:00
i18n/input-method fcitx: refactor (#16858) 2016-07-11 17:50:22 +02:00
installer nixos-version: fix syntax error and add -h (#16906) 2016-07-13 09:11:32 +02:00
misc version module: refactor with fileContents 2016-08-01 18:40:36 +09:00
profiles documentation: fix start display-manager command 2016-07-04 10:25:31 +02:00
programs tmux module: do not override keys by default in VI mode (#17330) 2016-07-28 13:10:42 +02:00
security grsecurity module: disable EFI runtime services by default 2016-08-02 10:24:49 +02:00
services varnish: fix localstatedir for varnish* tools (#17508) 2016-08-04 15:25:23 +02:00
system Merge pull request #17042 from rasendubi/etc 2016-07-26 09:04:10 +02:00
tasks kbd task: fix colors in early initrd 2016-07-24 15:08:49 +03:00
testing KDE test: Bump kdm start timeout 2016-05-27 11:22:27 +02:00
virtualisation declarative containers: additional veths 2016-07-28 23:06:41 +02:00
module-list.nix Revert "phpfpm service: restructured pool configuration" 2016-07-27 23:53:58 +02:00
rename.nix nixos: rewrite the grsecurity module 2016-06-14 03:38:12 +02:00