Add update.sh, persist Go on PATH via profile.d

update.sh pulls the latest main, rebuilds, reinstalls, and restarts
the service in one step. install.sh/bootstrap.sh now also drop
/etc/profile.d/go-path.sh so Go stays on PATH in future shells, not
just within the running install script.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sysops
2026-07-10 17:59:04 +02:00
co-authored by Claude Sonnet 5
parent f333623035
commit b2b6b82f58
4 changed files with 99 additions and 0 deletions
+10
View File
@@ -62,6 +62,16 @@ sudo systemctl enable --now wireguard-ui-multi.service
Der Quellcode bleibt unter `/opt/wireguard-ui-multi-src` liegen; erneutes
Ausführen des Einzeilers aktualisiert die Installation.
### Update
Für ein gezieltes Update (holt neuesten Code, baut neu, installiert neu und
startet den Dienst neu):
```bash
cd /opt/wireguard-ui-multi-src
sudo ./update.sh
```
### Manuelle Installation
#### 1. Aus dem Quellcode bauen