1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

handle is_public

This commit is contained in:
Julien Malik 2014-03-19 00:15:15 +01:00
parent 6b6eb0129f
commit 5060b15585

View file

@ -52,5 +52,11 @@ sudo update-rc.d ynh-app-ghostblog defaults
sudo service ynh-app-ghostblog start
echo "Reloading Nginx..."
if [ $is_public = "Yes" ];
then
sudo yunohost app setting ghostblog unprotected_uris -v "/"
fi
sudo yunohost app setting ghostblog is_public -v $is_public
sudo service nginx reload
sudo yunohost app ssowatconf