fixed services
This commit is contained in:
@@ -8,8 +8,8 @@ in
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "pc" "systemctl status promtail.service")
|
||||
(pkgs.writeShellScriptBin "pw" "journalctl -u promtail.service -b -n 25 -f")
|
||||
(pkgs.writeShellScriptBin "promtail-check" "systemctl status promtail.service")
|
||||
(pkgs.writeShellScriptBin "promtail-watch" "journalctl -u promtail.service -b -n 25 -f")
|
||||
];
|
||||
|
||||
services.promtail = {
|
||||
|
||||
@@ -9,8 +9,8 @@ in
|
||||
sops.secrets."telegraf_influx_token" = { };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "tc" "systemctl status telegraf.service")
|
||||
(pkgs.writeShellScriptBin "tw" "journalctl -u telegraf.service -b -n 25 -f")
|
||||
(pkgs.writeShellScriptBin "telegraf-check" "systemctl status telegraf.service")
|
||||
(pkgs.writeShellScriptBin "telegraf-watch" "journalctl -u telegraf.service -b -n 25 -f")
|
||||
];
|
||||
|
||||
systemd.services.telegraf = {
|
||||
|
||||
Reference in New Issue
Block a user