Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
nixos/prometheus-varnish-exporter: avoid crash on restart
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliButz committed Oct 8, 2018
1 parent cefd0f7 commit 24320f4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -69,6 +69,7 @@ in
path = [ pkgs.varnish ];
serviceConfig = {
DynamicUser = true;
RestartSec = mkDefault 1;
ExecStart = ''
${pkgs.prometheus-varnish-exporter}/bin/prometheus_varnish_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
Expand Down

0 comments on commit 24320f4

Please sign in to comment.