This commit is contained in:
Your Name 2022-05-04 12:16:39 -06:00
parent 787d1a57e4
commit a83b50f190

View File

@ -5,7 +5,7 @@ FILE='/configured.txt'
# Start the instance to verify that everything is working as expected
#Set Permissions
chown -R pleroma /var/lib/pleroma
chown -R pleroma:pleroma /var/lib/pleroma
chmod -R 777 /saves
#Configure Local Time
@ -22,6 +22,7 @@ nginx
if [ ! -f "$FILE" ]
then
su postgres -s $SHELL -lc "/usr/lib/postgresql/14/bin/pg_ctl start -D /var/lib/postgresql/data"
cd /opt/pleroma
su pleroma -s /bin/bash -lc 'MIX_ENV=prod mix phx.server'
fi