diff --git a/scripts/install b/scripts/install index 0a75989..1dcaac3 100755 --- a/scripts/install +++ b/scripts/install @@ -178,7 +178,7 @@ ynh_use_logrotate # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --description "Accounting free software" --log "/var/log/$app/$app.log" +#yunohost service add $app --description "Accounting free software" --log "/var/log/$app/$app.log" #================================================= # SETUP SSOWAT diff --git a/scripts/remove b/scripts/remove index 8aa1549..f90307a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -28,11 +28,11 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) -if ynh_exec_warn_less yunohost service status $app >/dev/null -then - ynh_script_progression --message="Removing $app service integration..." --weight=1 - yunohost service remove $app -fi +# if ynh_exec_warn_less yunohost service status $app >/dev/null +# then +# ynh_script_progression --message="Removing $app service integration..." --weight=1 +# yunohost service remove $app +# fi #================================================= # REMOVE THE POSTGRESQL DATABASE diff --git a/scripts/restore b/scripts/restore index e21afba..e7f02e6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,6 +69,7 @@ ynh_system_user_create $app # Restore permissions on app files chown -R $app: $final_path +chown $app: $final_path/include/constant.php #================================================= # RESTORE THE PHP-FPM CONFIGURATION @@ -103,7 +104,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --log "/var/log/$app/$app.log" +#yunohost service add $app --log "/var/log/$app/$app.log" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 6b8ba1d..5d98357 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -139,7 +139,7 @@ chown $app: $final_path/include/constant.php # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --description "Accounting free software" --log "/var/log/$app/$app.log" +#yunohost service add $app --description "Accounting free software" --log "/var/log/$app/$app.log" #================================================= # SETUP APPLICATION WITH CURL