summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-27 17:06:16 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-28 10:21:57 +0000
commitbe356624449876fcb6e7051fd04f3b3182e59000 (patch)
tree6e2f488966c384b4f01098e42cbe3902df29e75c
parentd4934769e522137f872cece4e86002cfbb45f62d (diff)
downloaddefinitions-be356624449876fcb6e7051fd04f3b3182e59000.tar.gz
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
-rw-r--r--openstack/usr/lib/systemd/system/postgres-server.service2
1 files changed, 1 insertions, 1 deletions
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