From 308b0f1b3bf8d14499e9e286a71ade1d9e1f571b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 8 May 2024 14:58:10 +0200 Subject: [PATCH] Update install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index d5cfd11..7a311cc 100755 --- a/scripts/install +++ b/scripts/install @@ -97,6 +97,9 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" ynh_systemd_action --service_name="xftp" --action="start" --log_path="systemd" ynh_systemd_action --service_name=tor --action="restart" --log_path="systemd" +tor=$(cat /var/lib/tor/simplex-xftp/hostname) +ynh_app_setting_set --app=$app --key=tor --value=$tor + #================================================= # END OF SCRIPT #=================================================