ENH update aw-start

This commit is contained in:
Nathan Dwarshuis 2023-04-29 13:26:04 -04:00
parent 079f88ff92
commit c6dd4d74e4
1 changed files with 14 additions and 3 deletions

View File

@ -2,6 +2,17 @@
# start activity watch without QT
/usr/bin/aw-server &
/usr/bin/aw-watcher-afk &
/usr/bin/aw-watcher-window &
/usr/bin/aw-server > /dev/null 2>&1 &
while ! ss -tnlH | grep '127.0.0.1:5600' > /dev/null; do
sleep 0.2
done
/usr/bin/aw-watcher-window < /dev/null > /dev/null 2>&1 & disown
while ! ss -apH state established | grep aw-watcher-wind > /dev/null; do
sleep 0.2
done
/usr/bin/aw-watcher-afk < /dev/null > /dev/null 2>&1 & disown
while ! ss -apH state established | grep aw-watcher-afk > /dev/null; do
sleep 0.2
done