From 53dbf71d5df87169d1abf1d46326d1295606d3aa Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Thu, 16 Sep 2021 21:22:09 -0400 Subject: [PATCH 01/10] Update to v0.11.0 --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 6 +++--- doc/DISCLAIMER.md | 6 +++--- doc/DISCLAIMER_fr.md | 6 +++--- manifest.json | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index eea4a25..ccd9c3e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft -**Shipped version:** 0.10.0~ynh1 +**Shipped version:** 0.11.0~ynh1 **Demo:** server.veloren.net:14004 diff --git a/README_fr.md b/README_fr.md index b44da1f..831d922 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft -**Version incluse :** 0.10.0~ynh1 +**Version incluse :** 0.11.0~ynh1 **Démo :** server.veloren.net:14004 diff --git a/conf/app.src b/conf/app.src index 3efc1cb..bf6501d 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://gitlab.com/veloren/veloren/-/archive/v0.10.0/veloren-v0.10.0.tar.gz -SOURCE_SUM=8bda76af18db8553556cb09a4126bb9c4e0956bcf021fbb93c019de450c38016 +SOURCE_URL=https://gitlab.com/veloren/veloren/-/archive/v0.11.0/veloren-v0.11.0.tar.gz +SOURCE_SUM=a2a840fcbbafaaa429c8c2ffce56488de099ed71e310fcae6d56b927409d1f8f SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=veloren-v0.10.0.tar.gz +SOURCE_FILENAME=veloren-v0.11.0.tar.gz SOURCE_EXTRACT=true diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 4a1fea2..704ad17 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,6 +1,6 @@ Veloren is in pre-alpha, il y aura des bugs. This package provides the last "release" version of Veloren, which is older than that of the official server. You will need to download the corresponding version of the client: - * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=windows) - * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=linux) - * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=macos) + * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=windows) + * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=linux) + * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=macos) diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 7c183b4..2338649 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -1,6 +1,6 @@ Veloren est en pre-alpha, il y aura des bugs. Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancienne que celle du serveur officiel. Il vous faudra télécharger la version correspondante du client: - * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=windows) - * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=linux) - * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=macos) + * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=windows) + * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=linux) + * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=macos) diff --git a/manifest.json b/manifest.json index c976b96..565a842 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft", "fr": "RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft" }, - "version": "0.10.0~ynh1", + "version": "0.11.0~ynh1", "url": "https://veloren.net", "upstream": { "license": "GPL-3.0-only", From f86e0b2c98e4be5f40e016137859f31dc907cdd8 Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Fri, 17 Sep 2021 13:57:17 -0400 Subject: [PATCH 02/10] Fix warnings --- scripts/install | 24 ++++++++++++------------ scripts/remove | 16 ++++++++-------- scripts/restore | 14 +++++++------- scripts/upgrade | 22 +++++++++++----------- 4 files changed, 38 insertions(+), 38 deletions(-) diff --git a/scripts/install b/scripts/install index fe5fe43..f4c2f44 100755 --- a/scripts/install +++ b/scripts/install @@ -46,7 +46,7 @@ app=$YNH_APP_INSTANCE_NAME #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #================================================= -ynh_script_progression --message="Validating installation parameters..." --weight=1 +ynh_script_progression --message="Validating installation parameters..." --weight=10 final_path=/opt/yunohost/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" @@ -56,7 +56,7 @@ test ! -e "$data_path" || ynh_die --message="This path already contains a folder #================================================= # STORE SETTINGS FROM MANIFEST #================================================= -ynh_script_progression --message="Storing installation settings..." --weight=1 +ynh_script_progression --message="Storing installation settings..." --weight=10 ynh_app_setting_set --app=$app --key=server_name --value=$server_name ynh_app_setting_set --app=$app --key=description --value=$description @@ -81,7 +81,7 @@ ynh_app_setting_set --app=$app --key=allow_inter_site_trade --value=$allow_inter #================================================= # FIND AND OPEN PORTS #================================================= -ynh_script_progression --message="Finding an available port..." --weight=1 +ynh_script_progression --message="Finding an available port..." --weight=10 # Find an available port port=$(ynh_find_port --port=14004) @@ -95,7 +95,7 @@ ynh_app_setting_set --app=$app --key=metrics_port --value=$metrics_port # Expose port publicly # Open the port -ynh_script_progression --message="Configuring firewall..." --weight=1 +ynh_script_progression --message="Configuring firewall..." --weight=10 ynh_exec_warn_less yunohost firewall allow --no-upnp Both $port #================================================= @@ -108,7 +108,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Configuring system user..." --weight=1 +ynh_script_progression --message="Configuring system user..." --weight=10 # Create a system user ynh_system_user_create --username=$app --home_dir="$data_path" @@ -116,7 +116,7 @@ ynh_system_user_create --username=$app --home_dir="$data_path" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=155 +ynh_script_progression --message="Setting up source files..." --weight=100 ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=data_path --value=$data_path @@ -128,7 +128,7 @@ setup_source #================================================= # COMPILE SERVER #================================================= -ynh_script_progression --message="Compiling server..." --weight=135 +ynh_script_progression --message="Compiling server..." --weight=100 compile_server @@ -139,7 +139,7 @@ compile_server map_generated=0 if [ $generate_custom_world -eq 1 ]; then - ynh_script_progression --message="Generating custom world..." --weight=730 + ynh_script_progression --message="Generating custom world..." --weight=100 generate_custom_world fi @@ -153,17 +153,17 @@ add_configuration_files #================================================= # SETUP SYSTEMD #================================================= -ynh_script_progression --message="Configuring a systemd service..." --weight=1 +ynh_script_progression --message="Configuring a systemd service..." --weight=10 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="data_path" +ynh_add_systemd_config #================================================= # GENERIC FINALIZATION #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Configuring log rotation..." --weight=1 +ynh_script_progression --message="Configuring log rotation..." --weight=10 # Use logrotate to manage application logfile(s) ynh_use_logrotate @@ -171,7 +171,7 @@ ynh_use_logrotate #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=10 yunohost service add $app --description="Veloren game server" --needs_exposed_ports "$port" --log="/var/log/$app/$app.log" diff --git a/scripts/remove b/scripts/remove index 1bfe044..d3602c2 100755 --- a/scripts/remove +++ b/scripts/remove @@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --weight=1 +ynh_script_progression --message="Loading installation settings..." --weight=10 app=$YNH_APP_INSTANCE_NAME @@ -27,14 +27,14 @@ get_app_settings # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then - ynh_script_progression --message="Removing $app service integration..." --weight=1 + ynh_script_progression --message="Removing $app service integration..." --weight=10 yunohost service remove $app fi #================================================= # STOP AND REMOVE SERVICE #================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." --weight=120 +ynh_script_progression --message="Stopping and removing the systemd service..." --weight=100 # Remove the dedicated systemd config ynh_remove_systemd_config @@ -50,7 +50,7 @@ ynh_remove_app_dependencies #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory..." --weight=1 +ynh_script_progression --message="Removing app main directory..." --weight=10 # Remove the app directory securely ynh_secure_remove --file="$final_path" @@ -58,7 +58,7 @@ ynh_secure_remove --file="$final_path" #================================================= # REMOVE APP DATA DIR #================================================= -ynh_script_progression --message="Removing app data directory..." --weight=1 +ynh_script_progression --message="Removing app data directory..." --weight=10 # Remove the data directory securely ynh_secure_remove --file="$data_path" @@ -66,7 +66,7 @@ ynh_secure_remove --file="$data_path" #================================================= # REMOVE LOGROTATE CONFIGURATION #================================================= -ynh_script_progression --message="Removing logrotate configuration..." --weight=1 +ynh_script_progression --message="Removing logrotate configuration..." --weight=10 # Remove the app-specific logrotate config ynh_remove_logrotate @@ -77,7 +77,7 @@ ynh_remove_logrotate if yunohost firewall list | grep -q "\- $port$" then - ynh_script_progression --message="Closing port $port..." --weight=1 + ynh_script_progression --message="Closing port $port..." --weight=10 ynh_exec_warn_less yunohost firewall disallow TCP $port fi @@ -95,7 +95,7 @@ ynh_secure_remove --file="/var/log/$app" #================================================= # REMOVE DEDICATED USER #================================================= -ynh_script_progression --message="Removing the dedicated system user..." --weight=1 +ynh_script_progression --message="Removing the dedicated system user..." --weight=10 # Delete a system user ynh_system_user_delete --username=$app diff --git a/scripts/restore b/scripts/restore index 51ae125..65fc178 100755 --- a/scripts/restore +++ b/scripts/restore @@ -23,7 +23,7 @@ ynh_abort_if_errors #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --weight=1 +ynh_script_progression --message="Loading installation settings..." --weight=10 app=$YNH_APP_INSTANCE_NAME @@ -32,7 +32,7 @@ get_app_settings #================================================= # CHECK IF THE APP CAN BE RESTORED #================================================= -ynh_script_progression --message="Validating restoration parameters..." --weight=1 +ynh_script_progression --message="Validating restoration parameters..." --weight=10 test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " @@ -44,7 +44,7 @@ test ! -d $data_path \ #================================================= # RECREATE THE DEDICATED USER #================================================= -ynh_script_progression --message="Recreating the dedicated system user..." --weight=1 +ynh_script_progression --message="Recreating the dedicated system user..." --weight=10 # Create the dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir="$data_path" @@ -60,7 +60,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=1 +ynh_script_progression --message="Restoring the app main directory..." --weight=10 ynh_restore_file --origin_path="$final_path" @@ -79,7 +79,7 @@ ynh_restore_file --origin_path="/var/log/$app" #================================================= # RESTORE SYSTEMD #================================================= -ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 +ynh_script_progression --message="Restoring the systemd configuration..." --weight=10 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet @@ -87,14 +87,14 @@ systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=10 yunohost service add $app --description="Veloren game server" --needs_exposed_ports "$port" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=1 +ynh_script_progression --message="Starting a systemd service..." --weight=10 ynh_systemd_action --service_name=$app --action="start" --line_match="Server is ready to accept connections." --log_path="/var/log/$app/$app.log" diff --git a/scripts/upgrade b/scripts/upgrade index 90dfcc1..5d09a83 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --weight=1 +ynh_script_progression --message="Loading installation settings..." --weight=10 app=$YNH_APP_INSTANCE_NAME @@ -27,7 +27,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=1 +ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=10 # Backup the current version of the app ynh_backup_before_upgrade @@ -45,14 +45,14 @@ ynh_abort_if_errors #================================================= # STOP SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Stopping a systemd service..." --weight=1 +ynh_script_progression --message="Stopping a systemd service..." --weight=10 ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1 +ynh_script_progression --message="Making sure dedicated system user exists..." --weight=10 # Create a dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir="$data_path" @@ -70,7 +70,7 @@ ynh_install_app_dependencies $pkg_dependencies if [ "$upgrade_type" == "UPGRADE_APP" ] then - ynh_script_progression --message="Upgrading source files..." --weight=155 + ynh_script_progression --message="Upgrading source files..." --weight=100 # Download, check integrity, uncompress and patch the source from app.src setup_source @@ -81,7 +81,7 @@ fi #================================================= # COMPILE SERVER #================================================= -ynh_script_progression --message="Compiling server..." --weight=135 +ynh_script_progression --message="Compiling server..." --weight=100 compile_server @@ -92,7 +92,7 @@ compile_server map_generated=0 if [ $generate_custom_world -eq 1 ]; then - ynh_script_progression --message="Generating custom world..." --weight=730 + ynh_script_progression --message="Generating custom world..." --weight=100 generate_custom_world fi @@ -106,17 +106,17 @@ add_configuration_files #================================================= # SETUP SYSTEMD #================================================= -ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 +ynh_script_progression --message="Upgrading systemd configuration..." --weight=10 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="data_path" +ynh_add_systemd_config #================================================= # GENERIC FINALIZATION #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1 +ynh_script_progression --message="Upgrading logrotate configuration..." --weight=10 # Use logrotate to manage app-specific logfile(s) ynh_use_logrotate --non-append @@ -124,7 +124,7 @@ ynh_use_logrotate --non-append #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=10 yunohost service add $app --description="Veloren game server" --needs_exposed_ports "$port" --log="/var/log/$app/$app.log" From 297fe1fde6961830a119e106871a8304509696ee Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Fri, 17 Sep 2021 17:57:22 +0000 Subject: [PATCH 03/10] Auto-update README --- README.md | 6 +++--- README_fr.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ccd9c3e..87e3e2c 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Bre Veloren is in pre-alpha, il y aura des bugs. This package provides the last "release" version of Veloren, which is older than that of the official server. You will need to download the corresponding version of the client: - * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=windows) - * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=linux) - * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=macos) + * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=windows) + * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=linux) + * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=macos) ## Documentation and resources diff --git a/README_fr.md b/README_fr.md index 831d922..3421156 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,9 +26,9 @@ RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Br Veloren est en pre-alpha, il y aura des bugs. Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancienne que celle du serveur officiel. Il vous faudra télécharger la version correspondante du client: - * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=windows) - * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=linux) - * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.10.0/download?job=macos) + * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=windows) + * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=linux) + * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.11.0/download?job=macos) ## Documentations et ressources From ff5d900aa3fd91af82c09b166c0edcedbd452fbe Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 6 Feb 2022 23:04:57 +0100 Subject: [PATCH 04/10] Update conf/app.src let's try that Co-authored-by: tituspijean --- conf/app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.src b/conf/app.src index bf6501d..d70f2e0 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ SOURCE_URL=https://gitlab.com/veloren/veloren/-/archive/v0.11.0/veloren-v0.11.0.tar.gz -SOURCE_SUM=a2a840fcbbafaaa429c8c2ffce56488de099ed71e310fcae6d56b927409d1f8f +SOURCE_SUM=81764B7E450A3948B83DE69A8BE432A41B26713B3A2271D3CFC3B7D8BEF35FF0 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From 098bea204a60830493b71105fb880f4ec4a247df Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 7 Feb 2022 22:48:52 +0100 Subject: [PATCH 05/10] fix checksum --- conf/app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.src b/conf/app.src index d70f2e0..bf6501d 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ SOURCE_URL=https://gitlab.com/veloren/veloren/-/archive/v0.11.0/veloren-v0.11.0.tar.gz -SOURCE_SUM=81764B7E450A3948B83DE69A8BE432A41B26713B3A2271D3CFC3B7D8BEF35FF0 +SOURCE_SUM=a2a840fcbbafaaa429c8c2ffce56488de099ed71e310fcae6d56b927409d1f8f SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From 99c8ecb26920874e6a4fde522906df50c952ca77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 18 Jan 2023 22:28:08 +0100 Subject: [PATCH 06/10] Fix linter --- manifest.json | 6 +++--- scripts/install | 27 ++++++++++++++------------- scripts/remove | 23 +++++++++++++---------- scripts/restore | 14 +++++++------- scripts/upgrade | 22 +++++++++++----------- 5 files changed, 48 insertions(+), 44 deletions(-) diff --git a/manifest.json b/manifest.json index 565a842..25820d0 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "veloren", "packaging_format": 1, "description": { - "en": "Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft", - "fr": "RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft" + "en": "Multiplayer voxel RPG", + "fr": "RPG voxel multijoueur" }, "version": "0.11.0~ynh1", "url": "https://veloren.net", @@ -22,7 +22,7 @@ "email": "jules.bertholet@gmail.com" }, "requirements": { - "yunohost": ">= 4.1.3" + "yunohost": ">= 11.0.9" }, "multi_instance": true, "services": [], diff --git a/scripts/install b/scripts/install index f4c2f44..7a9a2d0 100755 --- a/scripts/install +++ b/scripts/install @@ -46,17 +46,18 @@ app=$YNH_APP_INSTANCE_NAME #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #================================================= -ynh_script_progression --message="Validating installation parameters..." --weight=10 +ynh_script_progression --message="Validating installation parameters..." --weight=1 final_path=/opt/yunohost/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" + data_path=/home/yunohost.app/$app test ! -e "$data_path" || ynh_die --message="This path already contains a folder" #================================================= # STORE SETTINGS FROM MANIFEST #================================================= -ynh_script_progression --message="Storing installation settings..." --weight=10 +ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=server_name --value=$server_name ynh_app_setting_set --app=$app --key=description --value=$description @@ -81,7 +82,7 @@ ynh_app_setting_set --app=$app --key=allow_inter_site_trade --value=$allow_inter #================================================= # FIND AND OPEN PORTS #================================================= -ynh_script_progression --message="Finding an available port..." --weight=10 +ynh_script_progression --message="Finding an available port..." --weight=1 # Find an available port port=$(ynh_find_port --port=14004) @@ -95,20 +96,20 @@ ynh_app_setting_set --app=$app --key=metrics_port --value=$metrics_port # Expose port publicly # Open the port -ynh_script_progression --message="Configuring firewall..." --weight=10 +ynh_script_progression --message="Configuring firewall..." --weight=1 ynh_exec_warn_less yunohost firewall allow --no-upnp Both $port #================================================= # INSTALL DEPENDENCIES #================================================= -ynh_script_progression --message="Installing dependencies..." --weight=20 +ynh_script_progression --message="Installing dependencies..." --weight=2 ynh_install_app_dependencies $pkg_dependencies #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Configuring system user..." --weight=10 +ynh_script_progression --message="Configuring system user..." --weight=1 # Create a system user ynh_system_user_create --username=$app --home_dir="$data_path" @@ -116,7 +117,7 @@ ynh_system_user_create --username=$app --home_dir="$data_path" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=100 +ynh_script_progression --message="Setting up source files..." --weight=10 ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=data_path --value=$data_path @@ -128,7 +129,7 @@ setup_source #================================================= # COMPILE SERVER #================================================= -ynh_script_progression --message="Compiling server..." --weight=100 +ynh_script_progression --message="Compiling server..." --weight=10 compile_server @@ -139,7 +140,7 @@ compile_server map_generated=0 if [ $generate_custom_world -eq 1 ]; then - ynh_script_progression --message="Generating custom world..." --weight=100 + ynh_script_progression --message="Generating custom world..." --weight=10 generate_custom_world fi @@ -153,7 +154,7 @@ add_configuration_files #================================================= # SETUP SYSTEMD #================================================= -ynh_script_progression --message="Configuring a systemd service..." --weight=10 +ynh_script_progression --message="Configuring a systemd service..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config @@ -163,7 +164,7 @@ ynh_add_systemd_config #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Configuring log rotation..." --weight=10 +ynh_script_progression --message="Configuring log rotation..." --weight=1 # Use logrotate to manage application logfile(s) ynh_use_logrotate @@ -171,14 +172,14 @@ ynh_use_logrotate #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=10 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 yunohost service add $app --description="Veloren game server" --needs_exposed_ports "$port" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=35 +ynh_script_progression --message="Starting a systemd service..." --weight=10 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --line_match="Server is ready to accept connections." --log_path="/var/log/$app/$app.log" diff --git a/scripts/remove b/scripts/remove index d3602c2..45f623d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --weight=10 +ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME @@ -27,14 +27,14 @@ get_app_settings # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then - ynh_script_progression --message="Removing $app service integration..." --weight=10 + ynh_script_progression --message="Removing $app service integration..." --weight=1 yunohost service remove $app fi #================================================= # STOP AND REMOVE SERVICE #================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." --weight=100 +ynh_script_progression --message="Stopping and removing the systemd service..." --weight=5 # Remove the dedicated systemd config ynh_remove_systemd_config @@ -42,7 +42,7 @@ ynh_remove_systemd_config #================================================= # REMOVE DEPENDENCIES #================================================= -ynh_script_progression --message="Removing dependencies..." --weight=10 +ynh_script_progression --message="Removing dependencies..." --weight=5 # Remove metapackage and its dependencies ynh_remove_app_dependencies @@ -50,7 +50,7 @@ ynh_remove_app_dependencies #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory..." --weight=10 +ynh_script_progression --message="Removing app main directory..." --weight=3 # Remove the app directory securely ynh_secure_remove --file="$final_path" @@ -58,15 +58,18 @@ ynh_secure_remove --file="$final_path" #================================================= # REMOVE APP DATA DIR #================================================= -ynh_script_progression --message="Removing app data directory..." --weight=10 -# Remove the data directory securely -ynh_secure_remove --file="$data_path" +# Remove the data directory if --purge option is used +if [ "${YNH_APP_PURGE:-0}" -eq 1 ] +then + ynh_script_progression --message="Removing app data directory..." --weight=1 + ynh_secure_remove --file="$datadir" +fi #================================================= # REMOVE LOGROTATE CONFIGURATION #================================================= -ynh_script_progression --message="Removing logrotate configuration..." --weight=10 +ynh_script_progression --message="Removing logrotate configuration..." --weight=5 # Remove the app-specific logrotate config ynh_remove_logrotate @@ -77,7 +80,7 @@ ynh_remove_logrotate if yunohost firewall list | grep -q "\- $port$" then - ynh_script_progression --message="Closing port $port..." --weight=10 + ynh_script_progression --message="Closing port $port..." --weight=1 ynh_exec_warn_less yunohost firewall disallow TCP $port fi diff --git a/scripts/restore b/scripts/restore index 65fc178..73f9ebf 100755 --- a/scripts/restore +++ b/scripts/restore @@ -23,7 +23,7 @@ ynh_abort_if_errors #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --weight=10 +ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME @@ -32,7 +32,7 @@ get_app_settings #================================================= # CHECK IF THE APP CAN BE RESTORED #================================================= -ynh_script_progression --message="Validating restoration parameters..." --weight=10 +ynh_script_progression --message="Validating restoration parameters..." --weight=1 test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " @@ -44,7 +44,7 @@ test ! -d $data_path \ #================================================= # RECREATE THE DEDICATED USER #================================================= -ynh_script_progression --message="Recreating the dedicated system user..." --weight=10 +ynh_script_progression --message="Recreating the dedicated system user..." --weight=1 # Create the dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir="$data_path" @@ -52,7 +52,7 @@ ynh_system_user_create --username=$app --home_dir="$data_path" #================================================= # REINSTALL DEPENDENCIES #================================================= -ynh_script_progression --message="Reinstalling dependencies..." --weight=15 +ynh_script_progression --message="Reinstalling dependencies..." --weight=6 # Define and install dependencies ynh_install_app_dependencies $pkg_dependencies @@ -60,7 +60,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=10 +ynh_script_progression --message="Restoring the app main directory..." --weight=4 ynh_restore_file --origin_path="$final_path" @@ -79,7 +79,7 @@ ynh_restore_file --origin_path="/var/log/$app" #================================================= # RESTORE SYSTEMD #================================================= -ynh_script_progression --message="Restoring the systemd configuration..." --weight=10 +ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet @@ -87,7 +87,7 @@ systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=10 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 yunohost service add $app --description="Veloren game server" --needs_exposed_ports "$port" --log="/var/log/$app/$app.log" diff --git a/scripts/upgrade b/scripts/upgrade index 5d09a83..9d4bd5d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --weight=10 +ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME @@ -27,7 +27,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=10 +ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade @@ -45,14 +45,14 @@ ynh_abort_if_errors #================================================= # STOP SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Stopping a systemd service..." --weight=10 +ynh_script_progression --message="Stopping a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Making sure dedicated system user exists..." --weight=10 +ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1 # Create a dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir="$data_path" @@ -60,7 +60,7 @@ ynh_system_user_create --username=$app --home_dir="$data_path" #================================================= # UPGRADE DEPENDENCIES #================================================= -ynh_script_progression --message="Upgrading dependencies..." --weight=10 +ynh_script_progression --message="Upgrading dependencies..." --weight=1 ynh_install_app_dependencies $pkg_dependencies @@ -70,7 +70,7 @@ ynh_install_app_dependencies $pkg_dependencies if [ "$upgrade_type" == "UPGRADE_APP" ] then - ynh_script_progression --message="Upgrading source files..." --weight=100 + ynh_script_progression --message="Upgrading source files..." --weight=10 # Download, check integrity, uncompress and patch the source from app.src setup_source @@ -81,7 +81,7 @@ fi #================================================= # COMPILE SERVER #================================================= -ynh_script_progression --message="Compiling server..." --weight=100 +ynh_script_progression --message="Compiling server..." --weight=10 compile_server @@ -92,7 +92,7 @@ compile_server map_generated=0 if [ $generate_custom_world -eq 1 ]; then - ynh_script_progression --message="Generating custom world..." --weight=100 + ynh_script_progression --message="Generating custom world..." --weight=10 generate_custom_world fi @@ -106,7 +106,7 @@ add_configuration_files #================================================= # SETUP SYSTEMD #================================================= -ynh_script_progression --message="Upgrading systemd configuration..." --weight=10 +ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config @@ -116,7 +116,7 @@ ynh_add_systemd_config #================================================= # SETUP LOGROTATE #================================================= -ynh_script_progression --message="Upgrading logrotate configuration..." --weight=10 +ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1 # Use logrotate to manage app-specific logfile(s) ynh_use_logrotate --non-append @@ -131,7 +131,7 @@ yunohost service add $app --description="Veloren game server" --needs_exposed_po #================================================= # START SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=35 +ynh_script_progression --message="Starting a systemd service..." --weight=3 ynh_systemd_action --service_name=$app --action="start" --line_match="Server is ready to accept connections." --log_path="/var/log/$app/$app.log" From 46e2181bca88f021679ff3ca132706c649a938f1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 18 Jan 2023 21:28:12 +0000 Subject: [PATCH 07/10] Auto-update README --- README.md | 23 ++++++++++++----------- README_fr.md | 37 +++++++++++++++++++++---------------- 2 files changed, 33 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 87e3e2c..31b0a73 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Veloren server for YunoHost -[![Integration level](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![Working status](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) [![Install Veloren server with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=veloren) *[Lire ce readme en français.](./README_fr.md)* @@ -15,7 +15,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft +Multiplayer voxel RPG **Shipped version:** 0.11.0~ynh1 @@ -23,7 +23,7 @@ Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Bre ## Screenshots -![](./doc/screenshots/veloren.png) +![Screenshot of Veloren server](./doc/screenshots/veloren.png) ## Disclaimers / important information @@ -36,22 +36,23 @@ This package provides the last "release" version of Veloren, which is older than ## Documentation and resources -* Official app website: https://veloren.net/ -* Official user documentation: https://book.veloren.net/players/ -* Official admin documentation: https://book.veloren.net/players/hosting-a-server.html -* Upstream app code repository: https://gitlab.com/veloren/veloren -* YunoHost documentation for this app: https://yunohost.org/app_veloren -* Report a bug: https://github.com/YunoHost-Apps/veloren_ynh/issues +* Official app website: +* Official user documentation: +* Official admin documentation: +* Upstream app code repository: +* YunoHost documentation for this app: +* Report a bug: ## Developer info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/veloren_ynh/tree/testing). To try the testing branch, please proceed like that. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/veloren_ynh/tree/testing --debug or sudo yunohost app upgrade veloren -u https://github.com/YunoHost-Apps/veloren_ynh/tree/testing --debug ``` -**More info regarding app packaging:** https://yunohost.org/packaging_apps \ No newline at end of file +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index 3421156..a8cab9e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,25 +1,29 @@ + + # Veloren server pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) [![Installer Veloren server avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=veloren) *[Read this readme in english.](./README.md)* -*[Lire ce readme en français.](./README_fr.md)* -> *Ce package vous permet d'installer Veloren server rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* +> *Ce package vous permet d’installer Veloren server rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Vue d'ensemble +## Vue d’ensemble -RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft +RPG voxel multijoueur **Version incluse :** 0.11.0~ynh1 **Démo :** server.veloren.net:14004 -## Captures d'écran +## Captures d’écran -![](./doc/screenshots/veloren.png) +![Capture d’écran de Veloren server](./doc/screenshots/veloren.png) ## Avertissements / informations importantes @@ -32,22 +36,23 @@ Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancien ## Documentations et ressources -* Site officiel de l'app : https://veloren.net/ -* Documentation officielle utilisateur : https://book.veloren.net/players/ -* Documentation officielle de l'admin : https://book.veloren.net/players/hosting-a-server.html -* Dépôt de code officiel de l'app : https://gitlab.com/veloren/veloren -* Documentation YunoHost pour cette app : https://yunohost.org/app_veloren -* Signaler un bug : https://github.com/YunoHost-Apps/veloren_ynh/issues +* Site officiel de l’app : +* Documentation officielle utilisateur : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : +* Documentation YunoHost pour cette app : +* Signaler un bug : ## Informations pour les développeurs Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/veloren_ynh/tree/testing). Pour essayer la branche testing, procédez comme suit. -``` + +``` bash sudo yunohost app install https://github.com/YunoHost-Apps/veloren_ynh/tree/testing --debug ou sudo yunohost app upgrade veloren -u https://github.com/YunoHost-Apps/veloren_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file From 64bd5a347e719ce4e69bb12cd9e12f357aee43af Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 19 Mar 2023 10:40:47 +0100 Subject: [PATCH 08/10] fix --- conf/systemd.service | 3 ++- manifest.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 418072f..2c5f620 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,8 @@ User=__APP__ Group=__APP__ WorkingDirectory=__DATA_PATH__/ Environment=VELOREN_ASSETS=__FINAL_PATH__/ -ExecStart=__FINALPATH__/target/release/veloren-server-cli --basic +ExecStart=__FINALPATH__/target/release/veloren-server-cli +#--basic KillSignal=SIGUSR1 TimeoutStopSec=150 StandardOutput=append:/var/log/__APP__/__APP__.log diff --git a/manifest.json b/manifest.json index 25820d0..67860a5 100644 --- a/manifest.json +++ b/manifest.json @@ -22,7 +22,7 @@ "email": "jules.bertholet@gmail.com" }, "requirements": { - "yunohost": ">= 11.0.9" + "yunohost": ">= 11.1.15" }, "multi_instance": true, "services": [], From 6a1ba4346b8fb56dcd0c7b36fc69d7623f520414 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 19 Mar 2023 09:40:53 +0000 Subject: [PATCH 09/10] Auto-update README --- README.md | 3 ++- README_fr.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 31b0a73..f14a5ad 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ It shall NOT be edited by hand. # Veloren server for YunoHost -[![Integration level](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![Working status](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![Working status](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) + [![Install Veloren server with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=veloren) *[Lire ce readme en français.](./README_fr.md)* diff --git a/README_fr.md b/README_fr.md index a8cab9e..a9c7195 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,7 +5,8 @@ It shall NOT be edited by hand. # Veloren server pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/veloren.svg)](https://dash.yunohost.org/appci/app/veloren) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/veloren.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/veloren.maintain.svg) + [![Installer Veloren server avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=veloren) *[Read this readme in english.](./README.md)* From 06edcda865902a28e8ec76ce295253f2d1438ef2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 19 Mar 2023 10:45:39 +0100 Subject: [PATCH 10/10] Update systemd.service --- conf/systemd.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 2c5f620..418072f 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,8 +8,7 @@ User=__APP__ Group=__APP__ WorkingDirectory=__DATA_PATH__/ Environment=VELOREN_ASSETS=__FINAL_PATH__/ -ExecStart=__FINALPATH__/target/release/veloren-server-cli -#--basic +ExecStart=__FINALPATH__/target/release/veloren-server-cli --basic KillSignal=SIGUSR1 TimeoutStopSec=150 StandardOutput=append:/var/log/__APP__/__APP__.log