diff --git a/README_fr.md b/README_fr.md index e1c6c91..06e930e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -16,7 +16,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po ## Vue d’ensemble -Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. +Actual est un outil de finances personnelles local. Il est 100% gratuit et open-source, écrit en NodeJS, il dispose d'un élément de synchronisation afin que toutes vos modifications puissent se déplacer entre les appareils sans aucune lourde charge. **Version incluse :** 23.6.0~ynh1 diff --git a/conf/.env b/conf/.env deleted file mode 100644 index 4632967..0000000 --- a/conf/.env +++ /dev/null @@ -1,5 +0,0 @@ -ACTUAL_CONFIG_PATH=__DATA_DIR__ -ACTUAL_PORT=__PORT__ -ACTUAL_HOSTNAME= -ACTUAL_SERVER_FILES=__DATA_DIR__/server-files -ACTUAL_USER_FILES=__DATA_DIR__/user-files \ No newline at end of file diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index a15c122..9eb4b86 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1 +1 @@ -Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. \ No newline at end of file +Actual est un outil de finances personnelles local. Il est 100% gratuit et open-source, écrit en NodeJS, il dispose d'un élément de synchronisation afin que toutes vos modifications puissent se déplacer entre les appareils sans aucune lourde charge. \ No newline at end of file diff --git a/scripts/install b/scripts/install index c57f757..163fe27 100755 --- a/scripts/install +++ b/scripts/install @@ -48,10 +48,10 @@ yunohost service add $app --description="Local-first personal finance tool" --lo #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/.env" --destination="$install_dir/.env" +ynh_add_config --template="../conf/config.json" --destination="$install_dir/config.json" -chmod 400 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +chmod 400 "$install_dir/config.json" +chown $app:$app "$install_dir/config.json" #================================================= # INSTALL THE LOUNGE diff --git a/scripts/upgrade b/scripts/upgrade index db78065..6e6819f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,7 +16,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Stopping a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...) @@ -29,7 +29,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep=".env" + ynh_setup_source --dest_dir="$install_dir" --keep="config.json" fi chown -R $app:www-data "$install_dir"