summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-17 08:21:50 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-17 13:35:20 +0000
commit7b2211e353a82b9a62aef5dbc2d5529234cb93f8 (patch)
tree8fe9b349f9abdc265f940b18d2aa621ed07b46a8
parent79a963d5f8cbd73c348a0676cda98f4d86aebf97 (diff)
downloaddefinitions-7b2211e353a82b9a62aef5dbc2d5529234cb93f8.tar.gz
Add unit for swift-proxy service
-rw-r--r--openstack/manifest1
-rw-r--r--openstack/usr/lib/systemd/system/openstack-swift-proxy.service13
2 files changed, 14 insertions, 0 deletions
diff --git a/openstack/manifest b/openstack/manifest
index c8b38dae..927bbe43 100644
--- a/openstack/manifest
+++ b/openstack/manifest
@@ -165,6 +165,7 @@
0100644 0 0 /usr/share/openstack/swift-storage.yml
0100644 0 0 /usr/lib/systemd/system/openstack-swift-controller-setup.service
0100644 0 0 /usr/lib/systemd/system/openstack-swift-storage-setup.service
+0100644 0 0 /usr/lib/systemd/system/openstack-swift-proxy.service
0040755 0 0 /usr/share/swift
0040755 0 0 /usr/share/swift/etc
0040755 0 0 /usr/share/swift/etc/swift
diff --git a/openstack/usr/lib/systemd/system/openstack-swift-proxy.service b/openstack/usr/lib/systemd/system/openstack-swift-proxy.service
new file mode 100644
index 00000000..96a3b04e
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-swift-proxy.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenStack Swift Proxy Server
+After=syslog.target network.target memcached.service openstack-keystone.service openstack-swift-controller-setup.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/swift/proxy-server.pid
+Restart=on-failure
+ExecStart=/usr/bin/swift-init proxy-server start
+ExecStop=/usr/bin/swift-init proxy-server stop
+
+[Install]
+WantedBy=multi-user.target