mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 05:59:17 +03:00
Fix package ref
This commit is contained in:
parent
06bdf1b38a
commit
3e8f45393d
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ in {
|
||||||
ExecStart = "${cfg.package}/bin/netdata -P /run/netdata/netdata.pid -D -c /etc/netdata/netdata.conf";
|
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";
|
ExecReload = "${pkgs.util-linux}/bin/kill -s HUP -s USR1 -s USR2 $MAINPID";
|
||||||
ExecStartPost = pkgs.writeShellScript "wait-for-netdata-up" ''
|
ExecStartPost = pkgs.writeShellScript "wait-for-netdata-up" ''
|
||||||
while [ "$(${pkgs.netdata}/bin/netdatacli ping)" != pong ]; do sleep 0.5; done
|
while [ "$(${cfg.package}/bin/netdatacli ping)" != pong ]; do sleep 0.5; done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
TimeoutStopSec = cfg.deadlineBeforeStopSec;
|
TimeoutStopSec = cfg.deadlineBeforeStopSec;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue