aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run
diff options
context:
space:
mode:
Diffstat (limited to 'docker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run')
-rwxr-xr-xdocker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run8
1 files changed, 5 insertions, 3 deletions
diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run b/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run
index ae3b02a..383f7ce 100755
--- a/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run
+++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbs/run
@@ -1,3 +1,5 @@
-#!/command/execlineb -P
-posix-cd /data
-/usr/bin/hbbs -r $RELAY
+#!/command/with-contenv sh
+cd /data
+PARAMS=
+[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k _"
+/usr/bin/hbbs -r $RELAY $PARAMS