mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
cleaning
This commit is contained in:
parent
472e8a78b1
commit
55152965a6
3 changed files with 0 additions and 65 deletions
|
@ -1,39 +0,0 @@
|
|||
# See here for more information
|
||||
# https://github.com/YunoHost/package_check#syntax-check_process-file
|
||||
|
||||
# Move this file from check_process.default to check_process when you have filled it.
|
||||
|
||||
;; Test complet
|
||||
; Manifest
|
||||
admin="xana"
|
||||
email="user@example.com"
|
||||
password="1Strong-Password"
|
||||
port="8095"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=0
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=0
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=29c7d0df5dd6e3d90070f242b74cce980676cd72
|
||||
upgrade=1 from_commit=5c1c052995a10d899abcb0e4d4fa1c1dc35f84a5
|
||||
upgrade=1 from_commit=1b6c1c62e022f04afa02bf128f419e77a72bf1e9
|
||||
upgrade=1 from_commit=9a6d018337c7d83193282830ff9d9e9b0ae3a733
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=1
|
||||
change_url=0
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=29c7d0df5dd6e3d90070f242b74cce980676cd72
|
||||
name=0.3.6~ynh1
|
||||
; commit=5c1c052995a10d899abcb0e4d4fa1c1dc35f84a5
|
||||
name=v0.4.0~ynh1
|
||||
; commit=1b6c1c62e022f04afa02bf128f419e77a72bf1e9
|
||||
name=0.5.2~ynh2
|
||||
; commit=9a6d018337c7d83193282830ff9d9e9b0ae3a733
|
||||
name=0.6.0~ynh1
|
|
@ -13,8 +13,6 @@ source /usr/share/yunohost/helpers
|
|||
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
||||
#=================================================
|
||||
|
||||
admin="$YNH_APP_ARG_ADMIN"
|
||||
|
||||
landing_page_user=""
|
||||
client_max_body_size="100M"
|
||||
|
||||
|
@ -62,8 +60,6 @@ advanced_rate_limit_requests="300"
|
|||
# STORE SETTINGS FROM MANIFEST
|
||||
#=================================================
|
||||
|
||||
ynh_app_setting_set --app="$app" --key=admin --value="$admin"
|
||||
|
||||
ynh_app_setting_set --app="$app" --key=landing_page_user --value="$landing_page_user"
|
||||
ynh_app_setting_set --app="$app" --key=client_max_body_size --value="$client_max_body_size"
|
||||
ynh_app_setting_set --app="$app" --key=email --value="$email"
|
||||
|
|
|
@ -22,37 +22,15 @@ then
|
|||
yunohost service remove "$app"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# STOP AND REMOVE SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
|
||||
|
||||
# Remove the dedicated systemd config
|
||||
ynh_remove_systemd_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
||||
|
||||
# Remove the dedicated NGINX config of the main domain
|
||||
ynh_remove_nginx_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE LOGROTATE CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing logrotate configuration..." --weight=1
|
||||
|
||||
# Remove the app-specific logrotate config
|
||||
ynh_remove_logrotate
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC REMOVE
|
||||
#=================================================
|
||||
# REMOVE VARIOUS FILES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing various files..." --weight=1
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue