mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Update install
This commit is contained in:
parent
2939de8044
commit
aa79d9766d
1 changed files with 2 additions and 4 deletions
|
@ -205,8 +205,7 @@ php"${phpversion}" daemon.php config --username=$admin --password=$password
|
|||
|
||||
chown -R $app:www-data $final_path
|
||||
#chmod u+rwx $final_path
|
||||
chown $app $final_path/src/Movim/Bootstrap.php
|
||||
chown $app $final_path/src/Movim/Daemon/Core.php
|
||||
chown -R $app $final_path/src/Movim/
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
|
@ -223,7 +222,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
|
|||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #--line_match="HTTP Server listening"
|
||||
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
@ -241,7 +239,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
|||
# SSOwat configuration
|
||||
if [[ "$ssoenabled" = "No" ]]; then
|
||||
ynh_app_setting_set "$app" skipped_uris "/"
|
||||
(cd "$final_path" && php mud.php config --xmppwhitelist="$domain")
|
||||
(cd "$final_path" && php"${phpversion}" mud.php config --xmppwhitelist="$domain")
|
||||
undo_sso_patch
|
||||
else
|
||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
|
|
Loading…
Reference in a new issue