From 7f55ee3a532e62c2222c9aeab41efaf6ac54869d Mon Sep 17 00:00:00 2001 From: Wout Mertens Date: Fri, 15 Jul 2022 09:57:13 +0200 Subject: [PATCH] netdata: fix post start for module --- nixos/modules/services/monitoring/netdata.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index 489dd337bb7c..c6a3315d4022 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -201,7 +201,7 @@ in { serviceConfig = { ExecStart = "${cfg.package}/bin/netdata -P /run/netdata/netdata.pid -D -c /etc/netdata/netdata.conf"; ExecReload = "${pkgs.util-linux}/bin/kill -s HUP -s USR1 -s USR2 $MAINPID"; - ExecPostStart = ''while [ "$(netdatacli ping)" != pong ]; do sleep 0.5; done''; + ExecStartPost = ''while [ "$(netdatacli ping)" != pong ]; do sleep 0.5; done''; TimeoutStopSec = 60; Restart = "on-failure";