annotate backup/stop.sh @ 1745:f8950d99f47d

add Lucene.type.float
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 06 Dec 2022 11:53:18 -0700
parents 45eaaf5146f3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 #!/bin/bash
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 LUAN_PIDS=$(ps ax | awk '{if($0~"[s]erver.luan"){print $1}}');
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 kill -TERM $LUAN_PIDS;
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 exit 0;