1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00

Set requirements to 4.2.4

This commit is contained in:
ericgaspar 2021-05-14 09:12:31 +02:00
parent 2b00cad86f
commit 59d5aa3418
4 changed files with 7 additions and 11 deletions

View file

@ -1,11 +1,11 @@
;; Test complet ;; Test complet
; Manifest ; Manifest
domain="domain.tld" (DOMAIN) domain="domain.tld"
path="/path" (PATH) path="/path"
is_public=1 (PUBLIC|public=1|private=0) is_public=1
admin="john" (USER) admin="john"
password="pass" password="pass"
port="4533" (PORT) port="4533"
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=1 setup_sub_dir=1

View file

@ -6,14 +6,14 @@
"en": "Self-hosted remote torrent client", "en": "Self-hosted remote torrent client",
"fr": "Client torrent distant auto-hébergé" "fr": "Client torrent distant auto-hébergé"
}, },
"version": "1.2.23~ynh1", "version": "1.2.23~ynh2",
"url": "https://github.com/boypt/simple-torrent", "url": "https://github.com/boypt/simple-torrent",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": { "maintainer": {
"name": "eric_G" "name": "eric_G"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.1.7" "yunohost": ">= 4.2.4"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [

View file

@ -119,8 +119,6 @@ ynh_add_config --template="../conf/config.default.json" --destination="$final_pa
#================================================= #=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service"
ynh_add_systemd_config ynh_add_systemd_config
#================================================= #=================================================

View file

@ -128,8 +128,6 @@ ynh_system_user_create --username=$app
#================================================= #=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=2 ynh_script_progression --message="Configuring a systemd service..." --weight=2
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service"
ynh_add_systemd_config ynh_add_systemd_config
#================================================= #=================================================