summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/postgres-setup.service
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-03-23 21:06:52 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-07 10:08:30 +0000
commitd7a37662df5a89542c362bb708af3fd4c90ff02f (patch)
tree7e6f73a422ee168f3cc38392207af005c2c0c195 /openstack/etc/systemd/system/postgres-setup.service
parent55145f63356fbad216c250e3e64bd72b72b62b85 (diff)
downloaddefinitions-d7a37662df5a89542c362bb708af3fd4c90ff02f.tar.gz
WIP: Add OpenStack initial configuration
TODO: Split this out into: 1. initial config (openstack/etc) default values 2+. as many individual changes to initial config as possible to extract, including support scripts and configuration extensions
Diffstat (limited to 'openstack/etc/systemd/system/postgres-setup.service')
-rw-r--r--openstack/etc/systemd/system/postgres-setup.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/postgres-setup.service b/openstack/etc/systemd/system/postgres-setup.service
new file mode 100644
index 00000000..281d0d77
--- /dev/null
+++ b/openstack/etc/systemd/system/postgres-setup.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Run postgres-setup (once)
+After=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/share/openstack/postgres-setup
+Restart=no
+
+[Install]
+WantedBy=multi-user.target