diff options
-rw-r--r-- | modules/valheim.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/valheim.nix b/modules/valheim.nix index f915276..f12a894 100644 --- a/modules/valheim.nix +++ b/modules/valheim.nix @@ -55,11 +55,11 @@ in path = with pkgs; [ moreutils systemd gnugrep coreutils ]; script = '' systemctl show valheim-server | \ - grep -E 'IPIngress|IpEgress|CPUUsage' | \ + grep -E 'IPIngress|IPEgress|CPUUsage' | \ tr '=' ' ' | { while read k v; do echo "# TYPE $k counter" - echo "systemd_$k{unit='valheim-server.service'} $v"; + echo "systemd_$k{unit=\"valheim-server.service\"} $v"; done } | \ sponge ${config.orbekk.monitoring-server.textFileDir}/valheim_server.prom |