docker-vscode-server/root/init-hook

11 lines
287 B
Plaintext
Raw Normal View History

2023-05-10 23:43:36 +02:00
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [[ ${RUN_MODE} == "web" ]]; then
rm /etc/s6-overlay/s6-rc.d/user/contents.d/svc-vscode-server
elif [[ ${RUN_MODE} == "server" ]]; then
rm /etc/s6-overlay/s6-rc.d/user/contents.d/svc-vscode-server-web
fi
exec /docker-mods