From 53df1c2d5aee445f6f557599ac0ba8608eafec45 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Wed, 4 Mar 2015 16:51:10 +0000 Subject: Add swift-proxy unit --- openstack/manifest | 1 + .../usr/lib/systemd/system/openstack-swift-proxy.service | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 openstack/usr/lib/systemd/system/openstack-swift-proxy.service diff --git a/openstack/manifest b/openstack/manifest index 3e83ee2a..f375a4ce 100644 --- a/openstack/manifest +++ b/openstack/manifest @@ -170,3 +170,4 @@ 0100644 0 0 /etc/systemd/system/openstack-swift-controller-setup.service 0100644 0 0 /etc/systemd/system/openstack-swift-storage-setup.service 0100644 0 0 /usr/share/openstack/hosts +0100644 0 0 /usr/lib/systemd/system/openstack-swift-proxy.service 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..dc76f67e --- /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 openstack-keystone.service openstack-swift-controller-setup.service + +[Service] +Type=simple +Restart=on-failure +User=swift +ExecStart=/usr/bin/swift-init proxy-server start +ExecStop=/usr/bin/swift-init proxy-server stop + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1