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:
co-authored by
Claude Sonnet 5
parent
f333623035
commit
b2b6b82f58
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user