From e03b01a22cabc8bb77b7cc09916b9a2908f18453 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 12 Feb 2020 21:41:08 +0100 Subject: bin/ii-watch: do not restart ii, merely re-identify and re-join via ii-connect --- bin/ii-watch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ii-watch b/bin/ii-watch index ae1ab94..e72bf6a 100755 --- a/bin/ii-watch +++ b/bin/ii-watch @@ -53,6 +53,6 @@ while pgrep -x 'ii' >/dev/null && \ # more than 10 minutes ago if [ $((last_seen + 60*10)) -lt "$(date +%s)" ]; then # reconnect! - systemctl restart ii + "${base_dir}/bin/ii-connect" fi done -- cgit v1.2.3-70-g09d2