feat: overhaul Linux installer (#575)

- rewrite installTorrServerLinux.sh with structured CLI parsing, localization, glibc checks, and silent-mode support
- update Linux instructions in README.md with new non-interactive examples, version pinning, user switching, and port overrides

Signed-off-by: Pavel Pikta <devops@pavelpikta.com>
This commit is contained in:
Pavel Pikta
2025-10-27 19:45:29 +03:00
committed by GitHub
parent 8e4beacaff
commit aa20df3f0d
2 changed files with 1597 additions and 446 deletions

View File

@@ -64,6 +64,29 @@ Run in console
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | sudo bash
```
The script also supports non-interactive installs, explicit version pinning, user switching, and port overrides. Examples:
- Install a specific release while keeping defaults:
```bash
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | \
sudo bash -s -- --install 135 --silent
```
- Update an existing installation without prompts:
```bash
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | \
sudo bash -s -- --update --silent
```
- Change the systemd service user:
```bash
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | \
sudo bash -s -- --change-user root --silent
```
#### macOS
Run in Terminal.app

2020
installTorrServerLinux.sh Normal file → Executable file

File diff suppressed because it is too large Load Diff