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