summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-01 15:20:35 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-01 15:20:35 (GMT)
commita40fbd2be535efb60311d1ca4912e5e2cbc50df6 (patch)
tree16f3110170ed75ca6408c585286173ec3678c140
parentb92876ab97eb38b6cba021f77b0db28dbd99c361 (diff)
downloaddefinitions-a40fbd2be535efb60311d1ca4912e5e2cbc50df6.tar.gz
Add openstack-swift-setup systemd unit
-rw-r--r--openstack/etc/systemd/system/openstack-swift-setup.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/openstack-swift-setup.service b/openstack/etc/systemd/system/openstack-swift-setup.service
new file mode 100644
index 0000000..d43c43f
--- /dev/null
+++ b/openstack/etc/systemd/system/openstack-swift-setup.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Run openstack-swift-setup (once)
+After=local-fs.target postgres-server.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/share/openstack/openstack-swift-setup
+Restart=no
+
+[Install]
+WantedBy=multi-user.target