nixos/github-runners: use Runner.Listener
directly for registration
Nothing the script `config.sh` does prior to the final call to `Runner.Listener configure` is relevant for the systemd service. Particularly, we don't need (nor want) any of the artifacts the `env.sh` script creates.
This commit is contained in:
parent
b22b1f4874
commit
137db83090
@ -149,7 +149,7 @@ in
|
|||||||
else
|
else
|
||||||
args+=(--token "$token")
|
args+=(--token "$token")
|
||||||
fi
|
fi
|
||||||
${cfg.package}/bin/config.sh "''${args[@]}"
|
${cfg.package}/bin/Runner.Listener configure "''${args[@]}"
|
||||||
# Move the automatically created _diag dir to the logs dir
|
# Move the automatically created _diag dir to the logs dir
|
||||||
mkdir -p "$STATE_DIRECTORY/_diag"
|
mkdir -p "$STATE_DIRECTORY/_diag"
|
||||||
cp -r "$STATE_DIRECTORY/_diag/." "$LOGS_DIRECTORY/"
|
cp -r "$STATE_DIRECTORY/_diag/." "$LOGS_DIRECTORY/"
|
||||||
|
Loading…
Reference in New Issue
Block a user