build: fix arion bin path
Build and push Docker image / build-and-publish (push) Successful in 6m24s Details

This commit is contained in:
Hamcha 2024-03-30 20:35:05 +01:00
parent 5728a0c1cb
commit aa1823a43a
2 changed files with 1 additions and 2 deletions

View File

@ -35,7 +35,7 @@ in
description = "Scatting system management";
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
environment.STAX_ARION_BIN = "${getBin pkgs.arion}";
environment.STAX_ARION_BIN = "${getBin pkgs.arion}/bin/arion";
environment.STAX_DIR = cfg.stackDir;
environment.STAX_BIND = cfg.bindAddress;

View File

@ -17,7 +17,6 @@ pub(super) async fn run(
action: StackCommand,
) -> Result<CommandStatus> {
let output = Command::new(arion_bin)
.uid(0)
.args(action.command())
.current_dir(path)
.output()