1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

make user homedir with helper

This commit is contained in:
Kyle Spearrin
2018-04-02 21:11:32 -04:00
parent a3b522a6b0
commit d1a47ba808
8 changed files with 40 additions and 0 deletions

View File

@ -18,6 +18,11 @@ then
useradd -r -u $LUID -g $USERNAME $USERNAME
fi
if [ ! -d "/home/$USERNAME" ]
then
mkhomedir_helper $USERNAME
fi
chown -R $USERNAME:$USERNAME /etc/bitwarden
cp /etc/bitwarden/nginx/default.conf /etc/nginx/conf.d/default.conf
mkdir -p /etc/letsencrypt