diff --git a/README.md b/README.md index 78da945..105e73f 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d - Ability to subscribe to channels without creating a Google account -**Shipped version:** 22.03.03~ynh1 +**Shipped version:** 22.27.03~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index a4f71fc..25fb564 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ En plus de constituer un avantage sur le plan de la confidentialité (les donné - Possibilité d'afficher les commentaires Reddit plutôt que les commentaires YouTube, - Possibilité de s'abonner aux chaines sans créer de compte Google -**Version incluse :** 22.03.03~ynh1 +**Version incluse :** 22.27.03~ynh1 **Démo :** https://invidious.site/ diff --git a/conf/config.yml b/conf/config.yml index 2276ac5..e3de0b6 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -9,7 +9,7 @@ ## This setting is MANDATORY, unless 'database_url' is used. ## db: - user: __DB_NAME__ + user: __DB_USER__ password: __DB_PWD__ host: localhost port: 5432 diff --git a/conf/logrotate b/conf/logrotate deleted file mode 100644 index d4feee7..0000000 --- a/conf/logrotate +++ /dev/null @@ -1,8 +0,0 @@ -/etc/logrotate.d/invidious.logrotate { - rotate 4 - weekly - notifempty - missingok - compress - minsize 1048576 -} diff --git a/conf/systemd.service b/conf/systemd.service index 0b5480b..23fdd32 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Invidious (An alternative YouTube front-end) +Description=Invidious: Alternative YouTube front-end After=syslog.target After=network.target diff --git a/manifest.json b/manifest.json index 0c000fa..fd5c624 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.03.03~ynh1", + "version": "22.27.03~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/_common.sh b/scripts/_common.sh index 333fab2..e17ef0c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=bdfe317e20c9cc5d9e972e51d995faf59b86197d +version_commit=f4e19ac05c33f0a0995fe9cbb7678cd0b90a3149 # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" diff --git a/scripts/install b/scripts/install index 7d6b492..c45ebb1 100644 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ db_name=$(ynh_sanitize_dbid --db_name=$app) db_user=$db_name ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_psql_test_if_first_run -ynh_psql_setup_db --db_user=$db_name --db_name=$db_name +ynh_psql_setup_db --db_user=$db_user --db_name=$db_name #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -146,10 +146,12 @@ popd #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." +ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml" -chmod 600 $final_path/config/config.yml + +chmod 600 "$final_path/config/config.yml" +chown $app:$app "$final_path/config/config.yml" #================================================= # SETUP SYSTEMD