container-server/reloader/reloader.sh
2019-12-04 22:00:55 +01:00

14 lines
227 B
Bash
Executable file

#!/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