Commit 159a5e8e authored by kenkeiras's avatar kenkeiras

Make gotify reader reconnect 10s after a fail.

parent 60309463
......@@ -8,4 +8,7 @@ cd $(dirname "$0")
source params.bash
exec websocat "wss://${DOMAIN}/stream?token=${TOKEN}"|xargs -d$'\n' -n1 sh
while [ 1 ];do
websocat -U "wss://${DOMAIN}/stream?token=${TOKEN}"|xargs -d$'\n' -n1 sh
sleep 10
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment