From ef27f937840fbb51cbc9497ff14d2ed05a27f810 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 6 Nov 2023 20:40:52 +0100 Subject: [PATCH] fix service name --- conf/systemd.service | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index a37151c..674e703 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Jellyseer Service +Description=Terraforming-Mars Service Wants=network-online.target After=network-online.target diff --git a/scripts/install b/scripts/install index c62196a..e168d09 100755 --- a/scripts/install +++ b/scripts/install @@ -96,7 +96,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description=Jellyseer Service --log=/var/log/$app/$app.log +yunohost service add $app --description="Terraforming-Mars Service" --log=/var/log/$app/$app.log #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 3bea062..baa934a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -29,7 +29,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet -yunohost service add $app --description="Jellyseer Service" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Terraforming-Mars Service" --log="/var/log/$app/$app.log" mkdir -p "/var/log/$app" touch "/var/log/$app/$app.log" diff --git a/scripts/upgrade b/scripts/upgrade index 878b1ea..4feeb1d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,7 +65,7 @@ ynh_add_nginx_config ynh_add_systemd_config -yunohost service add $app --description="Jellyseer Service" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Terraforming-Mars Service" --log="/var/log/$app/$app.log" ynh_use_logrotate --non-append