Skip to content

Commit aa20df3

Browse files
authored
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>
1 parent 8e4beac commit aa20df3

File tree

2 files changed

+1581
-430
lines changed

2 files changed

+1581
-430
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,29 @@ Run in console
6464
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | sudo bash
6565
```
6666

67+
The script also supports non-interactive installs, explicit version pinning, user switching, and port overrides. Examples:
68+
69+
- Install a specific release while keeping defaults:
70+
71+
```bash
72+
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | \
73+
sudo bash -s -- --install 135 --silent
74+
```
75+
76+
- Update an existing installation without prompts:
77+
78+
```bash
79+
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | \
80+
sudo bash -s -- --update --silent
81+
```
82+
83+
- Change the systemd service user:
84+
85+
```bash
86+
curl -s https://raw.githubusercontent.com/YouROK/TorrServer/master/installTorrServerLinux.sh | \
87+
sudo bash -s -- --change-user root --silent
88+
```
89+
6790
#### macOS
6891

6992
Run in Terminal.app

0 commit comments

Comments
 (0)