This commit is contained in:
Torsten 2024-01-21 14:27:00 +01:00
parent a85f8240c9
commit 02d3c2123c
4 changed files with 42 additions and 3 deletions

View file

@ -13,7 +13,11 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
<<<<<<< HEAD
"file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md", "file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md",
=======
"file": "AWA/01_AWS Access/Autostart AWA Servers on instance startup.md",
>>>>>>> fb07057 (...)
"mode": "source", "mode": "source",
"source": false "source": false
} }
@ -85,7 +89,11 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
<<<<<<< HEAD
"file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md", "file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md",
=======
"file": "AWA/01_AWS Access/Autostart AWA Servers on instance startup.md",
>>>>>>> fb07057 (...)
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -102,7 +110,11 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
<<<<<<< HEAD
"file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md", "file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md",
=======
"file": "AWA/01_AWS Access/Autostart AWA Servers on instance startup.md",
>>>>>>> fb07057 (...)
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@ -125,7 +137,11 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
<<<<<<< HEAD
"file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md" "file": "AWA/Blender/AutoRigPro/01 Smart Rig Creation.md"
=======
"file": "AWA/01_AWS Access/Autostart AWA Servers on instance startup.md"
>>>>>>> fb07057 (...)
} }
} }
} }
@ -149,7 +165,13 @@
}, },
"active": "1fc1ac9fc01290be", "active": "1fc1ac9fc01290be",
"lastOpenFiles": [ "lastOpenFiles": [
<<<<<<< HEAD
"AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md", "AWA/Blender/_Workbench/Naming conventions avatar blendfile versions.md",
=======
"Pasted image 20240121135842.png",
"AWA/01_AWS Access/Install crontab.md",
"AWA/01_AWS Access/Autostart AWA Servers on instance startup.md",
>>>>>>> fb07057 (...)
"AWA/Godot/Godot World Environment Node (2D).md", "AWA/Godot/Godot World Environment Node (2D).md",
"AWA/Godot/Advanced Getters and Setters, useage of @tool.md", "AWA/Godot/Advanced Getters and Setters, useage of @tool.md",
"TestFolder/Drawing 2023-08-01 15.05.05.excalidraw.md", "TestFolder/Drawing 2023-08-01 15.05.05.excalidraw.md",
@ -182,10 +204,7 @@
"AWA/00_Concepts/AWA High Level Concept.md", "AWA/00_Concepts/AWA High Level Concept.md",
"Pasted Image 20231220120453_683.jpg", "Pasted Image 20231220120453_683.jpg",
"AWA/00_Concepts", "AWA/00_Concepts",
"WebDev/Verleih/TomTom/Docs/TomTom Login.md",
"AWA/Blender", "AWA/Blender",
"WebDev/Verleih/TomTom/Testkarte anzeigen.md",
"WebDev/Verleih/TomTom/Location.md",
"Untitled.canvas" "Untitled.canvas"
] ]
} }

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]]

View file

@ -0,0 +1 @@
`sudo yum install cronie`

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB