mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 02:30:11 +00:00
fix: generic-ify mgmt API URL in run-clustered.sh
This commit is contained in:
parent
5d24e86a7e
commit
99e4c9005d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
notify () {
|
notify () {
|
||||||
curl http://172.17.0.1:8081/notify -d "$1"
|
curl $MGMT/notify -d "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
curl http://172.17.0.1:8081/config > pluralkit.conf
|
curl $MGMT/config > pluralkit.conf
|
||||||
|
|
||||||
notify "Cluster $NOMAD_ALLOC_INDEX starting"
|
notify "Cluster $NOMAD_ALLOC_INDEX starting"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue