1 Answer
- Newest
- Most votes
- Most comments
0
I accomplished this by creating a oneshot
systemd service that just ran a simple bash script. Before=otelcol-sumo.service
in the service unit file to force it to run before the Collector service. I added a simple file existence test at the beginning and then touch
'ed that file after to cause it to only run on first boot. Probably not necessary since I'm not sure that GameLift servers reboot, but put it in for completeness. The process was also idempotent so it's doubly safe.
answered a year ago
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago