Add variable to add additional runtime paramters

This commit is contained in:
tobbenb
2017-02-07 22:23:55 +01:00
parent dc1d442d96
commit c45f84aa27
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
#!/usr/bin/with-contenv bash
RUN_ARRAY=(${RUN_OPTS})
exec \
s6-setuidgid abc /usr/bin/tvheadend -C -c /config
s6-setuidgid abc /usr/bin/tvheadend -C -c /config "${RUN_ARRAY[@]}"