1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
This commit is contained in:
ericgaspar 2020-11-28 11:58:14 +01:00
parent 8b4b31281a
commit 8bdebcecd1
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 9 additions and 8 deletions

View file

@ -178,7 +178,7 @@ ynh_use_logrotate
# ADVERTISE SERVICE IN ADMIN PANEL # 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 # SETUP SSOWAT

View file

@ -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`) # 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 # if ynh_exec_warn_less yunohost service status $app >/dev/null
then # then
ynh_script_progression --message="Removing $app service integration..." --weight=1 # ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove $app # yunohost service remove $app
fi # fi
#================================================= #=================================================
# REMOVE THE POSTGRESQL DATABASE # REMOVE THE POSTGRESQL DATABASE

View file

@ -69,6 +69,7 @@ ynh_system_user_create $app
# Restore permissions on app files # Restore permissions on app files
chown -R $app: $final_path chown -R $app: $final_path
chown $app: $final_path/include/constant.php
#================================================= #=================================================
# RESTORE THE PHP-FPM CONFIGURATION # 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 # 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 # GENERIC FINALIZATION

View file

@ -139,7 +139,7 @@ chown $app: $final_path/include/constant.php
# ADVERTISE SERVICE IN ADMIN PANEL # 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 # SETUP APPLICATION WITH CURL