diff --git a/pkg/common/venv-salt-minion-postinstall.service b/pkg/common/venv-salt-minion-postinstall.service index b122d7d6ea..c9db270435 100644 --- a/pkg/common/venv-salt-minion-postinstall.service +++ b/pkg/common/venv-salt-minion-postinstall.service @@ -2,6 +2,6 @@ Description=Clean old environment for venv-salt-minion [Service] -ExecStart=/bin/sh -c '/usr/lib/venv-salt-minion/bin/post_start_cleanup.sh || :' +ExecStart=/bin/sh -c 'WAIT_IF_SALT_JOBS=1 /usr/lib/venv-salt-minion/bin/post_start_cleanup.sh || :' Type=oneshot