♻️ minor refactoring
This commit is contained in:
parent
62315ee2c2
commit
eea3ddf0cf
1 changed files with 3 additions and 1 deletions
|
@ -39,9 +39,11 @@
|
||||||
let
|
let
|
||||||
# todo handle exit code and stderr and such properly
|
# todo handle exit code and stderr and such properly
|
||||||
script = pkgs.writers.writeBash "${serviceName}" serviceCommand;
|
script = pkgs.writers.writeBash "${serviceName}" serviceCommand;
|
||||||
|
#title = if title != null then title else "verify service ${serviceName}";
|
||||||
|
title = "verify service ${serviceName}";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
echo "verify service ${serviceName} (local command)"
|
echo "${title}"
|
||||||
${script}
|
${script}
|
||||||
''
|
''
|
||||||
) localCommands;
|
) localCommands;
|
||||||
|
|
Loading…
Reference in a new issue