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

Remove port_pictrs

This commit is contained in:
yalh76 2022-09-24 19:58:08 +02:00
parent 12bcb32894
commit ecb8015a24
3 changed files with 2 additions and 3 deletions

View file

@ -88,7 +88,7 @@
# Whether the site is available over TLS. Needs to be true for federation to work.
tls_enabled: true
# Address where pictrs is available (for image hosting)
###pictrs_url: "http://127.0.0.1:__PORT_PICTRS__"
###pictrs_url: "http://127.0.0.1:"
slur_filter: "(\bThis\b)|(\bis\b)|(\bsample\b)"
# Maximum length of local community and user names
actor_name_max_length: 20

View file

@ -59,8 +59,6 @@ port_lemmy=$(ynh_find_port --port=8536)
ynh_app_setting_set --app=$app --key=port_lemmy --value=$port_lemmy
port_ui=$(ynh_find_port --port=1235)
ynh_app_setting_set --app=$app --key=port_ui --value=$port_ui
port_pictrs=$(ynh_find_port --port=8537)
ynh_app_setting_set --app=$app --key=port_pictrs --value=$port_pictrs
#=================================================
# INSTALL DEPENDENCIES

View file

@ -88,6 +88,7 @@ then
fi
ynh_remove_systemd_config --service=$app-pict-rs
ynh_secure_remove --file="$final_path/pict-rs"
ynh_app_setting_delete --app=$app --key=port_pictrs
#=================================================
# CREATE DEDICATED USER