Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
fix install permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
reynico committed Dec 20, 2020
1 parent 04b062a commit 0d72891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ log_running "Setting up Nginx..."
sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/default
(
sudo mkdir -p /var/www/wx/images
sudo chown -R www-data:www-data /var/www/wx/images
sudo chown -R www-data:www-data /var/www/wx
sudo usermod -a -G www-data pi
sudo chmod 775 /var/www/wx/images
sudo chmod 775 /var/www/wx
)
sudo systemctl restart nginx
sudo cp -rp templates/webpanel/* /var/www/wx/
Expand Down

0 comments on commit 0d72891

Please sign in to comment.