log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial Hosting
>
luan
annotate backup/stop.sh @ 2044:
d8550e64d613
acme-tiny
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
fix
author
Violet7
date
Sun, 09 Nov 2025 02:26:32 -0800
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;