...
This commit is contained in:
parent
35bd66f21f
commit
8ab76adbe6
146 changed files with 101 additions and 40 deletions
|
|
@ -1,19 +0,0 @@
|
|||
````bash
|
||||
$ crontab -e
|
||||
@reboot /home/ec2-user/start_cloud_host.sh
|
||||
````
|
||||
|
||||
Contents of start_cloud_host:
|
||||
````bash
|
||||
#!/bin/bash
|
||||
|
||||
kill -9 `ps -ef|grep master_server|grep headless|awk '{print $2}'`
|
||||
kill -9 `ps -ef|grep scene_server|grep headless|awk '{print $2}'`
|
||||
|
||||
~/awa/master_server.x86_64 --headless > master_log.txt &
|
||||
sleep 2
|
||||
~/awa/scene_server.x86_64 --headless > scene_log.txt & # TODO: Set unique log name
|
||||
|
||||
`````
|
||||
|
||||
![[Pasted image 20240121135842.png]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue