annotate backup/stop.sh @ 2033:905a6ade55f2 default

change corePoolSize from 1 to 10
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Nov 2025 13:30:21 -0700
parents ee75b5c12272
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
2030
ee75b5c12272 finish rename
Franklin Schmidt <fschmidt@gmail.com>
parents: 2026
diff changeset
3 LUAN_PIDS=$(ps ax | awk '{if($0~"backup_[s]erver.luan"){print $1}}');
1693
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;