diff --git a/src/Admin/entrypoint.sh b/src/Admin/entrypoint.sh index 7d86122dba..cc9ba5d68f 100644 --- a/src/Admin/entrypoint.sh +++ b/src/Admin/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /app mkdir -p /etc/bitwarden/core mkdir -p /etc/bitwarden/logs diff --git a/src/Api/entrypoint.sh b/src/Api/entrypoint.sh index f2dc7e98af..1c3d96ef98 100644 --- a/src/Api/entrypoint.sh +++ b/src/Api/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME touch /var/log/cron.log chown $USERNAME:$USERNAME /var/log/cron.log chown -R $USERNAME:$USERNAME /app diff --git a/src/Icons/entrypoint.sh b/src/Icons/entrypoint.sh index 6946c297cf..9d26f3fc86 100644 --- a/src/Icons/entrypoint.sh +++ b/src/Icons/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /app chown -R $USERNAME:$USERNAME /etc/iconserver diff --git a/src/Identity/entrypoint.sh b/src/Identity/entrypoint.sh index 69206cbc42..99d238c39d 100644 --- a/src/Identity/entrypoint.sh +++ b/src/Identity/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME mkdir -p /etc/bitwarden/identity mkdir -p /etc/bitwarden/core mkdir -p /etc/bitwarden/logs diff --git a/util/Attachments/entrypoint.sh b/util/Attachments/entrypoint.sh index 46aba86e66..143473d422 100644 --- a/util/Attachments/entrypoint.sh +++ b/util/Attachments/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /bitwarden_server mkdir -p /etc/bitwarden/core/attachments chown -R $USERNAME:$USERNAME /etc/bitwarden diff --git a/util/MsSql/entrypoint.sh b/util/MsSql/entrypoint.sh index 36f782de78..ab453e7ad9 100644 --- a/util/MsSql/entrypoint.sh +++ b/util/MsSql/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME touch /var/log/cron.log chown $USERNAME:$USERNAME /var/log/cron.log mkdir -p /etc/bitwarden/mssql/backups diff --git a/util/Nginx/entrypoint.sh b/util/Nginx/entrypoint.sh index 20be4f46d9..13fff4b93c 100644 --- a/util/Nginx/entrypoint.sh +++ b/util/Nginx/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /etc/bitwarden cp /etc/bitwarden/nginx/default.conf /etc/nginx/conf.d/default.conf mkdir -p /etc/letsencrypt diff --git a/util/Setup/entrypoint.sh b/util/Setup/entrypoint.sh index b42e682900..4500d31ec8 100644 --- a/util/Setup/entrypoint.sh +++ b/util/Setup/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /app mkdir -p /bitwarden/env mkdir -p /bitwarden/docker