mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 21:19:16 -04:00
Try using new env var
Use this instead of manually manipulating the script
This commit is contained in:
@@ -33,11 +33,9 @@ jobs:
|
||||
uses: devcontainers/ci@v0.3
|
||||
with:
|
||||
runCmd: |
|
||||
printf '#!/bin/sh\nexit 0\n' | sudo tee /usr/sbin/apparmor_parser > /dev/null && sudo chmod +x /usr/sbin/apparmor_parser
|
||||
sudo sed -i 's|docker run --rm --privileged|docker run --rm --privileged -v /usr/sbin/apparmor_parser:/usr/sbin/apparmor_parser:ro|' /usr/bin/supervisor_run
|
||||
if [ -n "${DEBUG:-}" ]; then
|
||||
supervisor_run &
|
||||
SUPERVISOR_UNCONFINED=1 supervisor_run &
|
||||
else
|
||||
supervisor_run > /dev/null 2>&1 &
|
||||
SUPERVISOR_UNCONFINED=1 supervisor_run > /dev/null 2>&1 &
|
||||
fi
|
||||
bash .devcontainer/setup-ha.sh
|
||||
|
||||
Reference in New Issue
Block a user