build: fix arion bin path
All checks were successful
Build and push Docker image / build-and-publish (push) Successful in 6m24s
All checks were successful
Build and push Docker image / build-and-publish (push) Successful in 6m24s
This commit is contained in:
parent
5728a0c1cb
commit
aa1823a43a
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Reference in a new issue