Created
October 31, 2019 08:54
-
-
Save zopyx/a269abf561d5249fc9b61fb86473f891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[watcher:zeo] | |
cmd = parts/zeo/bin/runzeo | |
[watcher:instance1] | |
cmd = bin/instance1 console | |
numprocesses = 1 | |
[watcher:instance2] | |
cmd = bin/instance2 console | |
numprocesses = 1 | |
#[watcher:instance3] | |
#cmd = bin/instance3 console | |
#numprocesses = 1 | |
[env:instance1] | |
PATH = $PATH | |
TZ = $TZ | |
KATASTER_DB_PASSWORD=$KATASTER_DB_PASSWORD | |
KATASTER_DB_USERNAME=$KATASTER_DB_USERNAME | |
KATASTER_DB_NAME=$KATASTER_DB_NAME | |
EUSDB_TOKEN=$EUSDB_TOKEN | |
[env:instance2] | |
PATH = $PATH | |
TZ = $TZ | |
KATASTER_DB_PASSWORD=$KATASTER_DB_PASSWORD | |
KATASTER_DB_USERNAME=$KATASTER_DB_USERNAME | |
KATASTER_DB_NAME=$KATASTER_DB_NAME | |
EUSDB_TOKEN=$EUSDB_TOKEN | |
[env:instance3] | |
PATH = $PATH | |
TZ = $TZ | |
KATASTER_DB_PASSWORD=$KATASTER_DB_PASSWORD | |
KATASTER_DB_USERNAME=$KATASTER_DB_USERNAME | |
KATASTER_DB_NAME=$KATASTER_DB_NAME | |
EUSDB_TOKEN=$EUSDB_TOKEN | |
[plugin:instance1-http-observer] | |
use = circus.plugins.http_observer.HttpObserver | |
check_url = http://localhost:8081 | |
restart_on_error = instance1 | |
[plugin:instance2-http-observer] | |
use = circus.plugins.http_observer.HttpObserver | |
check_url = http://localhost:8082 | |
restart_on_error = instance2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment