1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/halcyon_ynh.git synced 2024-09-03 20:36:21 +02:00
This commit is contained in:
ericgaspar 2021-01-09 15:46:59 +01:00
parent 730baa5630
commit 95bea7c4a0
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 9 additions and 5 deletions

View file

@ -3,8 +3,8 @@
"id": "halcyon", "id": "halcyon",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Webclient for Mastodon and Pleroma which looks like Twitter.", "en": "Webclient for Mastodon and Pleroma.",
"fr": "Client web pour Mastodon et Pleroma ressemblent à Twitter." "fr": "Client web pour Mastodon et Pleroma."
}, },
"version": "2.4.9~ynh1", "version": "2.4.9~ynh1",
"url": "https://notabug.org/halcyon-suite/halcyon", "url": "https://notabug.org/halcyon-suite/halcyon",
@ -39,6 +39,10 @@
"en": "Is it a public application?", "en": "Is it a public application?",
"fr": "Est-ce une application publique ?" "fr": "Est-ce une application publique ?"
}, },
"help": {
"en": "If enabled, Halcyon will be accessible by people who do not have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, Halcyon sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true "default": true
}, },
{ {

View file

@ -86,7 +86,7 @@ ynh_replace_string "$old_domain" "$new_domain" "$final_path/config/config.ini"
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R $app: $final_path
chmod -R 777 $final_path/data chmod -R 755 $final_path/data
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
@ -99,7 +99,7 @@ ynh_store_file_checksum "$final_path/config/config.ini"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
ynh_script_progression --message="Reloading nginx web server..." --weight=1 ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload

View file

@ -32,7 +32,7 @@ ynh_secure_remove --file="$final_path"
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE NGINX CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Removing NGINX web server configuration..." --time --weight=1 ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
# Remove the dedicated nginx config # Remove the dedicated nginx config
ynh_remove_nginx_config ynh_remove_nginx_config