summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/swift-proxy.service
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/lib/systemd/system/swift-proxy.service')
-rw-r--r--openstack/usr/lib/systemd/system/swift-proxy.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/swift-proxy.service b/openstack/usr/lib/systemd/system/swift-proxy.service
new file mode 100644
index 0000000..bb51d59
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/swift-proxy.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenStack Swift Proxy Server
+After=syslog.target network.target memcached.service openstack-keystone.service 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