diff --git a/conf/lemmy.hjson b/conf/lemmy.hjson index a28053b..6e2ddcf 100644 --- a/conf/lemmy.hjson +++ b/conf/lemmy.hjson @@ -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 diff --git a/scripts/install b/scripts/install index f802ce4..b50cbcc 100755 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index f90b6d2..20b91df 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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