From 648064e5dda29769909538131d5a4e5844ec3024 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 19 Dec 2017 19:29:02 +0100 Subject: [PATCH] Daemonize Postgres container --- postgres/etc/init.d/postgres | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/etc/init.d/postgres b/postgres/etc/init.d/postgres index 77729e8..7f9ab00 100755 --- a/postgres/etc/init.d/postgres +++ b/postgres/etc/init.d/postgres @@ -8,7 +8,7 @@ depend() { } start() { - /usr/bin/docker run --rm --name postgres -v /srv/postgres:/var/lib/postgresql postgres + /usr/bin/docker run -d --rm --name postgres -v /srv/postgres:/var/lib/postgresql postgres } stop() {