Mercurial Hosting > luan
view backup/stop.sh @ 1812:f44dcb3fedf7
docs - add code block
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 10 Jun 2024 14:41:48 -0600 |
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;