diff --git a/scripts/upgrade b/scripts/upgrade index 613ad89..bbeb681 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,10 +90,10 @@ yunohost service add $app --log="/var/log/$app/$app.log" #================================================= ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template="../conf/jellyseerr.conf" --destination="$install_dir/jellyseerr.conf" +ynh_add_config --template="../conf/.env" --destination="$install_dir/.env" -chmod 600 "$install_dir/jellyseerr.conf" -chown $app:$app "$install_dir/jellyseerr.conf" +chmod 600 "$install_dir/.env" +chown $app:$app "$install_dir/.env" #================================================= # START SYSTEMD SERVICE