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

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

View File

@ -69,6 +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")
.status()?; .status()?;
if !status.success() { if !status.success() {