Make postgres/mariadb hard dependencies in init.d scripts

This commit is contained in:
Disassembler 2018-02-03 17:34:24 +01:00
parent 2181423d9a
commit 908c4f25d5
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
15 changed files with 16 additions and 28 deletions

View File

@ -17,5 +17,5 @@ start() {
} }
stop() { stop() {
/usr/bin/docker stop ckan /usr/bin/docker stop ckan-datapusher
} }

View File

@ -3,9 +3,9 @@
description="CKAN docker container" description="CKAN docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres redis solr ckan-datapusher after ckan-datapusher redis solr
} }
start_pre() { start_pre() {

View File

@ -3,9 +3,8 @@
description="Crisis Cleanup docker container" description="Crisis Cleanup docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="CTS docker container" description="CTS docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount use dns logger netmount
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="GNU Health docker container" description="GNU Health docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="KanBoard docker container" description="KanBoard docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="Mifos X docker container" description="Mifos X docker container"
depend() { depend() {
need docker net need docker net mariadb
use dns logger netmount postfix use dns logger netmount postfix
after mariadb
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="Motech docker container" description="Motech docker container"
depend() { depend() {
need docker net need docker net postgres activemq
use dns logger netmount postfix use dns logger netmount postfix
after activemq postgres
} }
start() { start() {

View File

@ -18,5 +18,5 @@ start() {
} }
stop() { stop() {
/usr/bin/docker kill openmapkit /usr/bin/docker stop openmapkit
} }

View File

@ -3,9 +3,8 @@
description="Pan.do/ra docker container" description="Pan.do/ra docker container"
depend() { depend() {
need docker net need docker net postgres rabbitmq
use dns logger netmount postfix use dns logger netmount postfix
after postgres rabbitmq
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="Sahana Eden docker container" description="Sahana Eden docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="SAMBRO docker container" description="SAMBRO docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="SeedDMS docker container" description="SeedDMS docker container"
depend() { depend() {
need docker net need docker net postgres
use dns logger netmount postfix use dns logger netmount postfix
after postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="Sigmah docker container" description="Sigmah docker container"
depend() { depend() {
need docker net need docker net postgres activemq
use dns logger netmount postfix use dns logger netmount postfix
after activemq postgres
} }
start() { start() {

View File

@ -3,9 +3,8 @@
description="Ushahidi docker container" description="Ushahidi docker container"
depend() { depend() {
need docker net need docker net mariadb
use dns logger netmount postfix use dns logger netmount postfix
after mariadb
} }
start() { start() {