1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpbb_ynh.git synced 2024-09-03 19:56:36 +02:00

Remove service

This commit is contained in:
ericgaspar 2021-06-29 11:57:37 +02:00
parent 5818887614
commit 33ec1b0ed6
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 1 additions and 35 deletions

View file

@ -6,7 +6,7 @@
"en": "Forum software that is easy to use, powerful, and highly customisable",
"fr": "Forum facile à utiliser, puissant et hautement personnalisable"
},
"version": "3.3.4~ynh2",
"version": "3.3.4~ynh3",
"url": "http://www.phpbb.com/",
"upstream": {
"license": "GPL-2.0-only",

View file

@ -144,13 +144,6 @@ ynh_add_config --template="../conf/phpbb.cron" --destination="$cron_path"
chown root: "$cron_path"
chmod 644 "$cron_path"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="Forum bulletin board software solution" --log="/var/log/$app/$app.log"
#=================================================
# SETUP SSOWAT
#=================================================

View file

@ -22,19 +22,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$db_name
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
# 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
#=================================================
# REMOVE THE MYSQL DATABASE
#=================================================

View file

@ -91,13 +91,6 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./
ynh_restore_file --origin_path="/etc/cron.d/$app"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="Forum bulletin board software solution" --log="/var/log/$app/$app.log"
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -145,13 +145,6 @@ ynh_add_config --template="../conf/phpbb.cron" --destination="$cron_path"
chown root: "$cron_path"
chmod 644 "$cron_path"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="Forum bulletin board software solution" --log="/var/log/$app/$app.log"
#=================================================
# RELOAD NGINX
#=================================================