From d9cefd7ac486e6cf38a244e0d1f674e1005d43a3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 27 Jan 2021 19:12:27 +0100 Subject: [PATCH] Add port --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index dd88004..708f3cc 100644 --- a/scripts/install +++ b/scripts/install @@ -104,7 +104,7 @@ chmod +x $final_path/$app #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Bittorrent tracker" --log="/var/log/$app/$app.log" --needs_exposed_ports "$port" +yunohost service add $app --description="Bittorrent tracker" --log=systemd --needs_exposed_ports $port #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index ba754b1..b989718 100644 --- a/scripts/restore +++ b/scripts/restore @@ -74,7 +74,7 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 -yunohost service add $app --description="Bittorrent tracker" --log="/var/log/$app/$app.log" --needs_exposed_ports "$port" +yunohost service add $app --description="Bittorrent tracker" --log=systemd --needs_exposed_ports $port #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 8650f78..fc06068 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -102,7 +102,7 @@ chmod +x $final_path/$app #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Bittorrent tracker" --log="/var/log/$app/$app.log" --needs_exposed_ports "$port" +yunohost service add $app --description="Bittorrent tracker" --log=systemd --needs_exposed_ports $port #================================================= # START SYSTEMD SERVICE