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/scripts/install b/scripts/install index 16d934a..c45ebb1 100644 --- a/scripts/install +++ b/scripts/install @@ -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