Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/ii-watch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-12 21:41:08 +0100
committerErich Eckner <git@eckner.net>2020-02-12 21:41:08 +0100
commite03b01a22cabc8bb77b7cc09916b9a2908f18453 (patch)
tree95157c687c4fa05677deea5cc7403dcbae695509 /bin/ii-watch
parent72a4b6fd8ca296eda6464647926e78e838b7e9cd (diff)
bin/ii-watch: do not restart ii, merely re-identify and re-join via ii-connect
Diffstat (limited to 'bin/ii-watch')
-rwxr-xr-xbin/ii-watch2
1 files changed, 1 insertions, 1 deletions
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