Mercurial Hosting > luan
view backup/stop.sh @ 1758:27a2530f04b6
fix reload nginx from startup script
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Mon, 20 Feb 2023 09:02:20 +0200 |
parents | 45eaaf5146f3 |
children |
line wrap: on
line source
#!/bin/bash LUAN_PIDS=$(ps ax | awk '{if($0~"[s]erver.luan"){print $1}}'); kill -TERM $LUAN_PIDS; exit 0;