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

Merge pull request #6 from YunoHost-Apps/Remove-service

Remove service
This commit is contained in:
farvardin 2020-12-31 16:42:24 +01:00 committed by GitHub
commit dc654c671d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 38 deletions

View file

@ -1,7 +1,7 @@
# Lionwiki-t2t for YunoHost
[![Integration level](https://dash.yunohost.org/integration/lionwiki-t2t.svg)](https://dash.yunohost.org/appci/app/lionwiki-t2t) ![](https://ci-apps.yunohost.org/ci/badges/lionwiki-t2t.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/lionwiki-t2t.maintain.svg)
[![Install Lionwiki-t2t with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=lionwiki-t2t)
[![Install Lionwiki-t2t with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=lionwiki-t2t)
*[Lire ce readme en français.](./README_fr.md)*

View file

@ -1,7 +1,7 @@
# Lionwiki-t2t pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/lionwiki-t2t.svg)](https://dash.yunohost.org/appci/app/lionwiki-t2t) ![](https://ci-apps.yunohost.org/ci/badges/lionwiki-t2t.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/lionwiki-t2t.maintain.svg)
[![Installer Lionwiki-t2t avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=lionwiki-t2t)
[![Installer Lionwiki-t2t avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=lionwiki-t2t)
*[Read this readme in english.](./README.md)*

View file

@ -17,7 +17,7 @@
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=02de615d477edb570687910e0e683d1ab073fe13
upgrade=1 from_commit=fde26800233eb9d312ef2885d747555c79ee779b
backup_restore=1
multi_instance=1
port_already_use=0
@ -26,6 +26,6 @@
Email=
Notification=none
;;; Upgrade options
; commit=02de615d477edb570687910e0e683d1ab073fe13
name=Create check_process
; commit=fde26800233eb9d312ef2885d747555c79ee779b
name=updating to latest lionwiki-t2t release
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=Yes&language=en&

View file

@ -6,7 +6,7 @@
"en": "Lightweight wiki-style CMS using the txt2tags syntax",
"fr": "CMS léger, géré sous forme de wiki utilisant la syntaxe txt2tags"
},
"version": "3.2.11b~ynh5",
"version": "3.2.11b~ynh6",
"url": "https://lionwiki-t2t.sourceforge.io/",
"license": "MIT",
"maintainer": {

View file

@ -200,13 +200,6 @@ find $final_path/templates/minimaxing/minimaxing.css -type f -print0 | xargs -0
# chmod : -rwxr-xr-x 1 root root 241 May 3 08:36 index.html => BAD
# find : -rw-r--r-- 1 1001 1002 241 May 3 08:36 index.html => GOOD
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "Lightweight wiki-style CMS" --log "/var/log/$app/$app.log"
#=================================================
# SETUP SSOWAT
#=================================================

View file

@ -22,17 +22,6 @@ 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 APP MAIN DIR
#=================================================

View file

@ -90,13 +90,6 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=4
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "Lightweight wiki-style CMS" --log "/var/log/$app/$app.log"
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -128,13 +128,6 @@ ynh_store_file_checksum --file="$final_path/menu.php"
# Set permissions on app files
chown -R root: $final_path
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "Lightweight wiki-style CMS" --log "/var/log/$app/$app.log"
#=================================================
# RELOAD NGINX
#=================================================