fix(worker/mailcow): fixed PATH variable for mailcow backup script - AGAIN
Build and Deploy / build-docker (push) Successful in 4m0s Details

This commit is contained in:
antifallobst 2023-12-17 21:44:17 +01:00
parent 267d2c32fe
commit 3ca5d76682
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ fn perform_backup(backup: backup::Backup) -> Result<()> {
.arg("backup") .arg("backup")
.arg("all") .arg("all")
.env("MAILCOW_BACKUP_LOCATION", &tmp) .env("MAILCOW_BACKUP_LOCATION", &tmp)
.env("PATH", "/host/bin /host/usr/bin /host/usr/local/bin") .env("PATH", "/bin:/usr/bin:/host/usr/bin")
.status()?; .status()?;
if !status.success() { if !status.success() {