aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
authorAttie Grande <[email protected]>2023-02-03 22:40:56 +0000
committerAttie Grande <[email protected]>2023-02-03 22:40:56 +0000
commitaf848f96dfad179f1c86aab15472426ad1bfe913 (patch)
tree8cb8160fc4080a395b48c381ac2b5ce6380c64f3 /docker
parentd88e4b5151f86a6c5ae0884520841495d46fbe3e (diff)
downloadrustdesk-server-af848f96dfad179f1c86aab15472426ad1bfe913.tar.gz
rustdesk-server-af848f96dfad179f1c86aab15472426ad1bfe913.zip
add '-k _' to hbbr if ENCRYPTED_ONLY is set
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run b/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run
index c7e1b19..c17d27b 100755
--- a/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run
+++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run
@@ -1,3 +1,5 @@
#!/command/with-contenv sh
cd /data
-/usr/bin/hbbr
+PARAMS=
+[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k _"
+/usr/bin/hbbr $PARAMS