Füge Unterstützung für das Neuladen des Servers hinzu
- Ergänze die `ExecReload`-Anweisung in `install.sh`, um das Neuladen des Servers bei Empfang des SIGUSR1-Signals zu ermöglichen. - Dies verbessert die Handhabung von Konfigurationsänderungen ohne einen vollständigen Neustart des Servers.
This commit is contained in:
@@ -59,6 +59,7 @@ User=yourchat
|
|||||||
Group=yourchat
|
Group=yourchat
|
||||||
WorkingDirectory=/opt/yourchat
|
WorkingDirectory=/opt/yourchat
|
||||||
ExecStart=/opt/yourchat/yourchat
|
ExecStart=/opt/yourchat/yourchat
|
||||||
|
ExecReload=/bin/kill -USR1 \$MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|||||||
Reference in New Issue
Block a user