Skip to content

Commit

Permalink
Add KODI_EXTRA_ARGS environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzima-spb committed Jan 3, 2025
1 parent a4b9047 commit 37d97f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/kodi/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ services:
# - vnc_password
ports:
- "5900:5900"
# environment:
environment:
KODI_EXTRA_ARGS: --debug
# VNC_SERVER_PASSWORD_FILE: /run/secrets/vnc_password
volumes:
- /run/user/1000/pulse:/run/user/1000/pulse
Expand Down
4 changes: 3 additions & 1 deletion examples/kodi/root/etc/s6-overlay/s6-rc.d/kodi/run
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ with-contenv
backtick -E HOME { homeof user }
s6-env HOME="$HOME"

importas -D "" extraArgs KODI_EXTRA_ARGS

redirfd -w 2 /dev/null

s6-setuidgid user kodi -fs --standalone
s6-setuidgid user kodi -fs --standalone "$extraArgs"

0 comments on commit 37d97f3

Please sign in to comment.