Skip to content
Snippets Groups Projects
Commit 5ae8b628 authored by Bob Mottram's avatar Bob Mottram
Browse files

Add pleroma user after directory creation

parent 7994cf97
No related branches found
No related tags found
No related merge requests found
......@@ -509,9 +509,6 @@ function install_pleroma {
fi
# create user
useradd -d $PLEROMA_DIR -s /bin/false pleroma
# get the repo
if [ -d /repos/pleroma ]; then
mkdir -p $PLEROMA_DIR
......@@ -529,6 +526,10 @@ function install_pleroma {
fi
# create user
useradd -d $PLEROMA_DIR -s /bin/false pleroma
# checkout the commit
cd $PLEROMA_DIR
git checkout $PLEROMA_COMMIT -b $PLEROMA_COMMIT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment