summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-06 18:31:44 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-06 18:31:44 +0000
commitb42d6eec8dd056a27ef294240e03b1b61e13d484 (patch)
tree818b241e2f33abb6828312f2e14ed69f763df962
parentd600cc4e335b5deec94fb32fe6216896b381050b (diff)
downloaddefinitions-b42d6eec8dd056a27ef294240e03b1b61e13d484.tar.gz
openstack-swift-proxy.service: fix proxy-server is daemon
-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