github.com/grafana/synthetic-monitoring-agent@v0.64.2/scripts/pre-stop.sh (about)

     1  #!/bin/sh
     2  
     3  # This scripts sends the USR1 signal to the synthetic monitoring agent
     4  # (PID 1) running in the container to ask it to disconnect from the API.
     5  
     6  kill -USR1 1