mirror of
https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git
synced 2024-09-03 19:36:27 +02:00
Remove service
This commit is contained in:
parent
76bc5e7983
commit
7c637235d9
7 changed files with 3 additions and 35 deletions
|
@ -1,7 +1,7 @@
|
|||
# Lionwiki-t2t for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/lionwiki-t2t)  
|
||||
[](https://install-app.yunohost.org/?app=lionwiki-t2t)
|
||||
[](https://install-app.yunohost.org/?app=lionwiki-t2t)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Lionwiki-t2t pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/lionwiki-t2t)  
|
||||
[](https://install-app.yunohost.org/?app=lionwiki-t2t)
|
||||
[](https://install-app.yunohost.org/?app=lionwiki-t2t)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue