From aaadb3f2a8d74f6cb6401b7dc4f7d095bf0497fe Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 27 Apr 2015 17:06:16 +0000 Subject: postgresql: Make the service depend on network-online.target When the server is configured to listen connections only from some IP addresses, the unit fails if the network is not configured and there aren't interfaces with this IP. Change-Id: Ibc4a00f5cc8efbbd8edd2df227272b9420438c6c --- openstack/usr/lib/systemd/system/postgres-server.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/usr/lib/systemd/system/postgres-server.service b/openstack/usr/lib/systemd/system/postgres-server.service index cd559fa0..af0e9621 100644 --- a/openstack/usr/lib/systemd/system/postgres-server.service +++ b/openstack/usr/lib/systemd/system/postgres-server.service @@ -1,6 +1,6 @@ [Unit] Description=PostgreSQL database server -After=network.target +After=network-online.target [Service] Type=forking -- cgit v1.2.1