ENH update aw-start
This commit is contained in:
parent
079f88ff92
commit
c6dd4d74e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue