15 lines
227 B
Bash
15 lines
227 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
read message
|
||
|
case $message in
|
||
|
"reload")
|
||
|
echo "Reloading..." >&2
|
||
|
docker kill --signal=USR1 murmur >&2
|
||
|
;;
|
||
|
*)
|
||
|
echo "unkown command: $message" >&2
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
echo "done" >&2
|