3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers
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
..
amqp
apache-kafka apache-kafka: retain 0.8.x and 0.9.x 2016-05-28 13:46:46 -04:00
apcupsd
asterisk
beanstalkd
bird bird6: bird build with IPv6 support 2016-06-19 20:45:55 +02:00
brickd Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
caddy buildGoPackage: use Go 1.6 by default 2016-06-09 13:08:10 +02:00
computing treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
consul buildGoPackage: use Go 1.6 by default 2016-06-09 13:08:10 +02:00
corosync
coturn coturn: init at 4.5.0.3 (#16284) 2016-06-21 12:59:29 +02:00
dico
dict treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
diod
dns
dnschain
elasticmq treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
emby emby: 3.0.6000 -> 3.0.6020 (#17368) 2016-07-30 01:39:09 +01:00
etcd etcd: 2.3.0 -> 2.3.7 (#16896) 2016-07-18 12:49:08 +02:00
fcgiwrap treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
felix
fingerd/bsd-fingerd treewide: Add lots of platforms to packages with no meta 2016-08-02 21:17:44 +03:00
firebird
fleet
foswiki
freeradius treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
ftp treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
games/ghost-one
gopher/gofish Gofish: nit at 1.2 (#16532) 2016-07-21 01:19:06 +02:00
gotty Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is 2016-06-09 13:08:10 +02:00
gpm
gpsd gpsd: 3.10 -> 3.16 2016-07-10 18:48:13 +02:00
hbase hbase: 0.98.13 -> 0.98.19 2016-06-10 07:59:11 +00:00
http treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
icecast treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
identd/oidentd
inginious inginious: turn lib into a python app. 2016-06-14 11:09:21 +02:00
interlock Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is 2016-06-09 13:08:10 +02:00
irc treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
kippo
ldap/389 Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
limesurvey treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
mail treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
matrix-synapse matrix-synapse: fix missing curses dependency 2016-07-31 12:33:27 -07:00
mediatomb Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
memcached
mesos-dns Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is 2016-06-09 13:08:10 +02:00
meteor meteor: Use makeLibraryPath 2016-06-07 21:18:29 +03:00
mfi
misc treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
monitoring treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
mpd Merge pull request #8891 from mk0x9/mpd-on-darwin 2016-06-13 00:10:16 +01:00
mqtt/mosquitto
neard Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
news/leafnode
nosql treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
nsq Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is 2016-06-09 13:08:10 +02:00
oauth2_proxy no more goPackages 2016-06-09 13:08:00 +02:00
openafs-client
openpts
openxpki treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
osrm-backend treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
owncloud treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
p910nd
pies
plex nixpkgs: upgrade plex packages 2016-07-16 01:20:15 -05:00
polipo
portmap
prayer treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
pulseaudio pulseaudio: 8.0 -> 9.0 2016-07-05 08:30:00 +02:00
quagga
restund
rippled
rpcbind
rt treewide: Add lots of platforms to packages with no meta 2016-08-02 21:17:44 +03:00
sabnzbd
samba
search elasticsearch2: 2.3.1 -> 2.3.4 2016-07-27 17:47:16 +02:00
serf no more goPackages 2016-06-09 13:08:00 +02:00
shairport-sync
shellinabox
shishi
silc-server
sip
skydns Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is 2016-06-09 13:08:10 +02:00
smcroute smcroute: init at 2.1.0 2016-07-09 12:56:02 +02:00
softether
sonarr sonarr: init at 2.0.0.4230 2016-07-15 16:07:27 +02:00
sql treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
squid treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
sslh
tt-rss tt-rss service: init at 16.3 2016-07-21 20:46:35 +03:00
tvheadend
u9fs
uhub
ums ums: Use makeLibraryPath 2016-06-07 21:18:38 +03:00
unfs3
unifi unifi: 4.8.15 -> 5.0.6 (#15920) 2016-06-02 14:35:30 +02:00
uwsgi uwsgi: add rack support 2016-06-22 04:57:57 +03:00
varnish varnish: fix localstatedir for varnish* tools (#17508) 2016-08-04 15:25:23 +02:00
web-apps/pump.io
x11 xorg.xcbutilcursor: Don't wipe out most meta attrs 2016-08-02 21:17:44 +03:00
xinetd
xmpp treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
zookeeper