This commit is contained in:
Torsten 2024-12-22 14:02:54 +01:00
parent 1e22d28754
commit 6b926d3afe
126 changed files with 128562 additions and 104297 deletions

View file

@ -0,0 +1,19 @@
````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]]