mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
Update install
This commit is contained in:
parent
0e0aafccbe
commit
4507e9aee5
1 changed files with 3 additions and 3 deletions
|
@ -131,7 +131,7 @@ ynh_replace_string --match_string="defined('YII_ENV') or define('YII_ENV', 'dev'
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
|
||||||
# Set the app as temporarily public for curl call
|
# Set the app as temporarily public for curl call
|
||||||
ynh_script_progression --message="Configuring SSOwat..." --weight=30
|
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||||
# Making the app public for curl
|
# Making the app public for curl
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
ynh_permission_update --permission="main" --add="visitors"
|
||||||
# Reload SSOwat config
|
# Reload SSOwat config
|
||||||
|
@ -141,7 +141,7 @@ yunohost app ssowatconf
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
# Installation with curl
|
# Installation with curl
|
||||||
ynh_script_progression --message="Finalizing installation..." --weight=2
|
ynh_script_progression --message="Finalizing installation..." --weight=10
|
||||||
|
|
||||||
pushd $final_path/protected
|
pushd $final_path/protected
|
||||||
php${YNH_PHP_VERSION} yii migrate/up --includeModuleMigrations=1 --interactive=0
|
php${YNH_PHP_VERSION} yii migrate/up --includeModuleMigrations=1 --interactive=0
|
||||||
|
@ -227,7 +227,7 @@ chmod 644 "/etc/cron.d/$app"
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring permissions..." --weight=35
|
ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||||
|
|
||||||
# Make app public if necessary
|
# Make app public if necessary
|
||||||
if [ $is_public -eq 1 ]
|
if [ $is_public -eq 1 ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue