forked from c3d2/nix-config
scrape: add freifunk_node 1176
This commit is contained in:
parent
6882367df8
commit
3d5fdf0a28
|
@ -71,6 +71,10 @@
|
||||||
script = "freifunk_node";
|
script = "freifunk_node";
|
||||||
host = "10.200.6.239";
|
host = "10.200.6.239";
|
||||||
};
|
};
|
||||||
|
scrape-node1176 = makeService {
|
||||||
|
script = "freifunk_node";
|
||||||
|
host = "10.200.7.80";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
systemd.timers.scrape-xeri = {
|
systemd.timers.scrape-xeri = {
|
||||||
partOf = [ "scrape-xeri.service" ];
|
partOf = [ "scrape-xeri.service" ];
|
||||||
|
@ -112,6 +116,11 @@
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig.OnCalendar = "minutely";
|
timerConfig.OnCalendar = "minutely";
|
||||||
};
|
};
|
||||||
|
systemd.timers.scrape-node1176 = {
|
||||||
|
partOf = [ "scrape-node1176.service" ];
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
timerConfig.OnCalendar = "minutely";
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release with which your system is to be
|
# This value determines the NixOS release with which your system is to be
|
||||||
# compatible, in order to avoid breaking some software such as database
|
# compatible, in order to avoid breaking some software such as database
|
||||||
|
|
Loading…
Reference in New Issue
Block a user