Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "apps" {
- "andon" {
- "prog": "java"
- "args": "-D .. -cp lib/"
- "depends-on": "postgres"
- "environment": {
- "CLASSPATH": "lib/*:3rdparty/*"
- }
- },
- "postgres" {
- "prog": "postmaster",
- "db-folder": "postgres-data/",
- "args": "-h 0.0.0.0 -D @{db-folder}",
- "run-as": "postgres",
- "before-up": "check-database",
- "at-fail": "notify-admin",
- },
- "check-database" {
- "prog": "@{csi-scripts}/check-postgres.sh",
- "args": "@{postgres/db-folder}",
- "oneshot": true,
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement