hosts/astatine: Update mu5001tool and restart on failure
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user