1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

make bitwarden user home dir

This commit is contained in:
Kyle Spearrin 2018-04-02 19:58:37 -04:00
parent 367d3f65a6
commit 40242a78e5
8 changed files with 16 additions and 0 deletions

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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

View File

@ -18,6 +18,8 @@ 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