mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-10 13:29:37 +00:00
add to end webserver process to run-web.sh
This commit is contained in:
parent
40900f3112
commit
c0c1ba4c08
@ -16,6 +16,8 @@ run_server() {
|
|||||||
ts="$(get_ts)"
|
ts="$(get_ts)"
|
||||||
run_server
|
run_server
|
||||||
|
|
||||||
|
trap "kill -s KILL $pid; trap - EXIT; exit" EXIT INT HUP
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
sleep 1;
|
sleep 1;
|
||||||
new_ts="$(get_ts)"
|
new_ts="$(get_ts)"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user