1
0

hosts/astatine: Update mu5001tool and restart on failure

This commit is contained in:
2025-09-11 12:39:04 +02:00
parent e82132b86e
commit 00a7eee2af
2 changed files with 6 additions and 4 deletions

View File

@@ -7,6 +7,8 @@
serviceConfig = {
DynamicUser = true;
LoadCredential = "zte-hypermobile-5g-password:${config.sops.secrets."zte-hypermobile-5g-password".path}";
Restart = "on-failure";
RestartSec = "15s";
};
script = ''
${lib.getExe pkgs.mu5001tool} --password-file ''${CREDENTIALS_DIRECTORY}/zte-hypermobile-5g-password prometheus-exporter --listen-port 9242