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