mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Replace short flags with long ones for readability
This commit is contained in:
parent
dc57acb9d8
commit
e094f112bf
6 changed files with 13 additions and 13 deletions
|
|
@ -96,7 +96,7 @@ in
|
|||
serviceConfig.Type = "oneshot";
|
||||
scriptArgs = "%i";
|
||||
script = ''
|
||||
${lib.getExe pkgs.curl} -fsS -m 10 --retry 5 https://hc-ping.com/$(cat ${
|
||||
${lib.getExe pkgs.curl} --fail --silent --show-error --max-time 10 --retry 5 https://hc-ping.com/$(cat ${
|
||||
config.sops.secrets."healthchecks-ping-key".path or "/run/secrets/healthchecks-ping-key"
|
||||
})/$(echo $1 | tr _ /)
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue