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() {
/usr/bin/docker stop ckan
/usr/bin/docker stop ckan-datapusher
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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