clean up env vars, update run opts handling

This commit is contained in:
aptalca
2022-08-31 10:43:41 -04:00
parent ec504fc6f8
commit 0a0a942bde
3 changed files with 14 additions and 23 deletions

View File

@@ -1,6 +1,4 @@
#!/usr/bin/with-contenv bash
IFS=" " read -r -a RUN_ARRAY <<< "$RUN_OPTS"
exec \
s6-setuidgid abc /usr/bin/tvheadend -C -c /config "${RUN_ARRAY[@]}"
s6-setuidgid abc /usr/bin/tvheadend -C -c /config $RUN_OPTS