summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdocker/start.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/start.sh b/docker/start.sh
index e9a932e4..4fac4514 100755
--- a/docker/start.sh
+++ b/docker/start.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+if [ -n "${UMASK}" ]; then
+ umask "${UMASK}"
+fi
+
if [ -r /etc/vaultwarden.sh ]; then
. /etc/vaultwarden.sh
elif [ -r /etc/bitwarden_rs.sh ]; then