From c4645095069940330b9e1892d57b342271973032 Mon Sep 17 00:00:00 2001 From: Nyako Date: Tue, 9 Jun 2026 15:03:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20seedbox-install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seedbox-install.sh | 52 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/seedbox-install.sh b/seedbox-install.sh index 76b2446..e7bc9a0 100644 --- a/seedbox-install.sh +++ b/seedbox-install.sh @@ -1,4 +1,54 @@ echo "deb [trusted=yes] https://flood-apt-repo.pages.dev/ devel main" | sudo tee /etc/apt/sources.list.d/flood.list sudo apt update sudo apt install -y flood -sudo apt install -y rtorrent \ No newline at end of file +sudo apt install -y rtorrent + +SERVICE_USER="download" +FLOOD_PORT="8098" +FLOOD_HOST="0.0.0.0" +sudo useradd --create-home --shell /bin/false "$SERVICE_USER" + + +sudo tee /etc/systemd/system/flood@.service > /dev/null < /dev/null <:${FLOOD_PORT}" \ No newline at end of file