mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
Update install
This commit is contained in:
parent
d7811bcb50
commit
2a8ac9c8ee
1 changed files with 7 additions and 7 deletions
|
@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_clean_setup () {
|
ynh_clean_setup () {
|
||||||
### Remove this function if there's nothing to clean before calling the remove script.
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
|
@ -148,17 +147,18 @@ systemctl start "$app".service
|
||||||
#=================================================
|
#=================================================
|
||||||
# Set Public or private
|
# Set Public or private
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||||
|
|
||||||
ynh_app_setting_set "$app" is_public "$is_public"
|
# Make app public if necessary or protect it
|
||||||
if [ "$is_public" = 0 ];
|
if [ $is_public -eq 1 ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
ynh_permission_update --permission "main" --add "visitors"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Reload Service
|
# Reload Service
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
sudo service nginx reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
sudo yunohost service add "$app" --log /var/log/"$app"/"$app".log
|
yunohost service add "$app" --log /var/log/"$app"/"$app".log
|
||||||
sudo yunohost app ssowatconf
|
yunohost app ssowatconf
|
||||||
|
|
Loading…
Add table
Reference in a new issue