summaryrefslogtreecommitdiff
path: root/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'openstack')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-swift-proxy.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-swift-proxy.service b/openstack/usr/lib/systemd/system/openstack-swift-proxy.service
index a94b3121..96a3b04e 100644
--- a/openstack/usr/lib/systemd/system/openstack-swift-proxy.service
+++ b/openstack/usr/lib/systemd/system/openstack-swift-proxy.service
@@ -3,7 +3,8 @@ Description=OpenStack Swift Proxy Server
After=syslog.target network.target memcached.service openstack-keystone.service openstack-swift-controller-setup.service
[Service]
-Type=simple
+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