mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-12-05 15:24:38 -05:00
Try using new env var
Use this instead of manually manipulating the script
This commit is contained in:
1 file changed
+2
-4
@@ -33,11 +33,9 @@ jobs:
|
|||||||
uses: devcontainers/ci@v0.3
|
uses: devcontainers/ci@v0.3
|
||||||
with:
|
with:
|
||||||
runCmd: |
|
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
|
if [ -n "${DEBUG:-}" ]; then
|
||||||
supervisor_run &
|
SUPERVISOR_UNCONFINED=1 supervisor_run &
|
||||||
else
|
else
|
||||||
supervisor_run > /dev/null 2>&1 &
|
SUPERVISOR_UNCONFINED=1 supervisor_run > /dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
bash .devcontainer/setup-ha.sh
|
bash .devcontainer/setup-ha.sh
|
||||||
Reference in new issue
Block a user