Skip to content

Commit

Permalink
add restart nginx.service again. use HOME_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Nov 20, 2023
1 parent 1ed72d5 commit 1fb7c1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion installation/routines/setup_jukebox_webapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ _jukebox_webapp_register_as_system_service_with_nginx() {
sudo cp -f "${INSTALLATION_PATH}/resources/default-settings/nginx.default" "${WEBAPP_NGINX_SITE_DEFAULT_CONF}"

# make sure nginx can access the home directory of the user
sudo chmod o+x /home/pi
sudo chmod o+x "${HOME_PATH}"

sudo systemctl restart nginx.service
}

_jukebox_webapp_check() {
Expand Down

0 comments on commit 1fb7c1d

Please sign in to comment.