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.
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전