Fix makefile
- Background server process (hung otherwise) - Execute `|| true` on the client; doesn't appear to work otherwise?
This commit is contained in:
parent
fcd1c22738
commit
538f7dc5a7
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -16,11 +16,11 @@ clean:
|
|||
|
||||
start: deploy
|
||||
# TODO: This doesn't kill weston nicely; I should handle that? Or background or something
|
||||
ssh kiosk "pgrep -f './server' || ./server"
|
||||
#ssh kiosk "pkill -f 'weston --shell=kiosk-shell.so' || true"
|
||||
ssh kiosk "pgrep -f './server' || ./server &"
|
||||
ssh kiosk "pkill -f 'weston --shell=kiosk-shell.so'" || true
|
||||
ssh kiosk weston --shell=kiosk-shell.so -- firefox --kiosk localhost:8000 --remote-debugging-port=9222
|
||||
|
||||
debug: deploy
|
||||
ssh kiosk "pgrep -f './server' || ./server"
|
||||
#ssh kiosk "pkill -f 'weston --shell=kiosk-shell.so' || true"
|
||||
ssh kiosk "pgrep -f './server' || ./server &"
|
||||
ssh kiosk "pkill -f 'weston --shell=kiosk-shell.so'" || true
|
||||
ssh -L 6000:localhost:6000 kiosk weston --shell=kiosk-shell.so -- firefox --kiosk localhost:8000 --start-debugger-server 6000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue