Portál AbcLinuxu, 7. května 2025 18:26
Rusi vladnu nginxuAno a dal ? Mas neco rict k veci, nebo ses idiot / troll ? tipuji na to posledni..
Kolikrát si říkám, jestli bych se k němu neměl zase rychle vrátit. :)Tak proc jsi od nej utekl?
The USR1 or graceful signal causes the parent process to advise the children to exit after their current request (or to exit immediately if they're not serving anything). The parent re-reads its configuration files and re-opens its log files. As each child dies off the parent replaces it with a child from the new generation of the configuration, which begins serving new requests immediately.Je to takový polovičatý restart. Makající děcka se skutečně restartují, ale dohlížející rodič jen znovu načte konfiguraci a vyrobí nové děti.
check-and-restart: /usr/sbin/nginx -t systemctl restart nginxPokud experimentuji s konfigurací a něco mám špatně, server a ostatní služby stále běží.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.