1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00
* cleaning

* Update manifest.toml
This commit is contained in:
eric_G 2023-12-07 11:52:15 +01:00 committed by GitHub
parent c1a22e9e37
commit 594482b9a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 7 deletions

View file

@ -15,7 +15,7 @@
// *** Basic settings (important!) *** // *** Basic settings (important!) ***
// *********************************** // ***********************************
putenv('TTRSS_SELF_URL_PATH=__DOMAIN_PATH__'); putenv('TTRSS_SELF_URL_PATH=https://__DOMAIN____PATH__');
// Full URL of your tt-rss installation. This should be set to the // Full URL of your tt-rss installation. This should be set to the
// location of tt-rss directory, e.g. http://example.org/tt-rss/ // location of tt-rss directory, e.g. http://example.org/tt-rss/
// You need to set this option correctly otherwise several features // You need to set this option correctly otherwise several features
@ -177,7 +177,7 @@
// Disabling auth_internal in this list would automatically disable // Disabling auth_internal in this list would automatically disable
// reset password link on the login form. // reset password link on the login form.
putenv('TTRSS_LOG_DESTINATION=sql'); putenv('TTRSS_LOG_DESTINATION=syslog');
// Log destination to use. Possible values: sql (uses internal logging // Log destination to use. Possible values: sql (uses internal logging
// you can read in Preferences -> System), syslog - logs to system log. // you can read in Preferences -> System), syslog - logs to system log.
// Setting this to blank uses PHP logging (usually to http server // Setting this to blank uses PHP logging (usually to http server

View file

@ -32,8 +32,9 @@ ynh_change_url_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1 ynh_script_progression --message="Updating a configuration file..." --weight=1
domain_path="https://${new_domain}${new_path}"
domain="$new_domain" domain="$new_domain"
path="$new_path"
ynh_add_config --template="config.php" --destination="$install_dir/config.php" ynh_add_config --template="config.php" --destination="$install_dir/config.php"
chmod 400 "$install_dir/config.php" chmod 400 "$install_dir/config.php"

View file

@ -44,8 +44,6 @@ yunohost service add $app --description="News feed reader and aggregator" --log=
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
domain_path=https://$domain$path
ynh_add_config --template="config.php" --destination="$install_dir/config.php" ynh_add_config --template="config.php" --destination="$install_dir/config.php"
chmod 400 "$install_dir/config.php" chmod 400 "$install_dir/config.php"

View file

@ -30,7 +30,7 @@ ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./d
#================================================= #=================================================
# RESTORE THE PHP-FPM CONFIGURATION # RESTORE THE PHP-FPM CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=50 ynh_script_progression --message="Restoring system configurations related to $app..." --weight=5
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"

View file

@ -75,7 +75,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Updating a configuration file..." --weight=2 ynh_script_progression --message="Updating a configuration file..." --weight=2
domain_path=https://$domain$path
ynh_add_config --template="config.php" --destination="$install_dir/config.php" ynh_add_config --template="config.php" --destination="$install_dir/config.php"
ynh_script_progression --message="Upgrading the database..." --weight=2 ynh_script_progression --message="Upgrading the database..." --weight=2