Installation aktualisiert
parent
ea8fb593ce
commit
11d572a2fd
1 changed files with 8 additions and 21 deletions
|
|
@ -374,32 +374,19 @@ rcctl enable furt
|
||||||
- Korrekte Daemon-Konfiguration für OpenBSD
|
- Korrekte Daemon-Konfiguration für OpenBSD
|
||||||
- Prozess-Pattern für `rcctl`-Integration
|
- Prozess-Pattern für `rcctl`-Integration
|
||||||
|
|
||||||
**Linux systemd-Unit** - `/etc/systemd/system/furt.service`:
|
**Linux systemd-Unit aus Repository-Template:**
|
||||||
```ini
|
|
||||||
[Unit]
|
|
||||||
Description=furt Multi-Tenant API Gateway
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=furt
|
|
||||||
Group=furt
|
|
||||||
ExecStart=/usr/local/share/furt/scripts/start.sh start
|
|
||||||
WorkingDirectory=/usr/local/share/furt
|
|
||||||
Restart=always
|
|
||||||
RestartSec=5
|
|
||||||
StandardOutput=journal
|
|
||||||
StandardError=journal
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Template aus Repository verwenden
|
||||||
|
cp deployment/linux/furt.service /etc/systemd/system/
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable furt
|
systemctl enable furt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Das Template `deployment/linux/furt.service` enthält:**
|
||||||
|
- Service-vs-Interactive-Detection über `start.sh`
|
||||||
|
- Korrekte User/Group-Konfiguration für Linux
|
||||||
|
- Restart-Policy für systemd-Integration
|
||||||
|
|
||||||
## Installation validieren
|
## Installation validieren
|
||||||
|
|
||||||
### Service starten und Status prüfen
|
### Service starten und Status prüfen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue