diff options
author | Erich Eckner <git@eckner.net> | 2020-02-12 21:41:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-12 21:41:08 +0100 |
commit | e03b01a22cabc8bb77b7cc09916b9a2908f18453 (patch) | |
tree | 95157c687c4fa05677deea5cc7403dcbae695509 /bin | |
parent | 72a4b6fd8ca296eda6464647926e78e838b7e9cd (diff) | |
download | builder-e03b01a22cabc8bb77b7cc09916b9a2908f18453.tar.xz |
bin/ii-watch: do not restart ii, merely re-identify and re-join via ii-connect
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ii-watch | 2 |
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 |