1 回答
- 最新
- 投票最多
- 评论最多
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.
已回答 1 年前
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前