update: inverter a ordem do chown

This commit is contained in:
Lucas F 2023-07-24 14:45:41 -03:00
parent 4baca11562
commit 51b3d99985

6
run.sh
View file

@ -498,10 +498,10 @@ fi
# Rodar o sistema
# Start service
run_service() {
chmod -R 751 /home/$USERNAME
chmod -R 755 /home/$USERNAME/$APP
chown -R $USERNAME:$USERNAME /home/$USERNAME
chmod -R 751 /home/$USERNAME &&
chmod -R 755 /home/$USERNAME/$APP &&
chmod 664 /etc/systemd/system/$SERVICE &&
chown -R $USERNAME:$USERNAME /home/$USERNAME &&
systemctl daemon-reload &&
systemctl enable nginx &&
systemctl start nginx &&