diff options
-rw-r--r-- | openstack/manifest | 1 | ||||
-rw-r--r-- | openstack/usr/lib/systemd/system/openstack-swift-proxy.service | 13 |
2 files changed, 14 insertions, 0 deletions
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 |