import files
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/ash
|
||||
set -euo pipefail
|
||||
set -o errexit
|
||||
set -x
|
||||
|
||||
trap 'kill -SIGQUIT $PID' INT
|
||||
|
||||
# Launch alertmanager by default, or paramater
|
||||
[ $# -eq 0 ] && /bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus --storage.tsdb.no-lockfile || exec "$@" &
|
||||
PID=$! && wait
|
||||
|
||||
Reference in New Issue
Block a user