From 6b31d08a180e084db75619770a321bb19f2b9f2c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 14 Aug 2024 13:16:25 +0200 Subject: [PATCH] fix --- conf/systemd.service | 2 +- scripts/upgrade | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 38833dd..83cca9e 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,7 @@ User=__APP__ Group=__APP__ DynamicUser=yes EnvironmentFile=-__INSTALL_DIR__/.env -ExecStart=__INSTALL_DIR__/libreddit -a 127.0.0.1 -p __PORT__ --env-file .env +ExecStart=__INSTALL_DIR__/redlib -a 127.0.0.1 -p __PORT__ --env-file .env [Install] WantedBy=multi-user.target diff --git a/scripts/upgrade b/scripts/upgrade index 6f41245..fba01c0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,12 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -33,7 +27,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=5 ynh_setup_source --dest_dir="$install_dir" --keep=".env" chown -R $app:www-data "$install_dir" -chmod +x $install_dir/libreddit +chmod +x $install_dir/redlib #================================================= # REAPPLY SYSTEM CONFIGURATIONS