diff options
Diffstat (limited to 'openstack')
-rw-r--r-- | openstack/manifest | 1 | ||||
-rw-r--r-- | openstack/usr/lib/systemd/system/openstack-swift-storage.service | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/openstack/manifest b/openstack/manifest index 927bbe43..f3416293 100644 --- a/openstack/manifest +++ b/openstack/manifest @@ -166,6 +166,7 @@ 0100644 0 0 /usr/lib/systemd/system/openstack-swift-controller-setup.service 0100644 0 0 /usr/lib/systemd/system/openstack-swift-storage-setup.service 0100644 0 0 /usr/lib/systemd/system/openstack-swift-proxy.service +0100644 0 0 /usr/lib/systemd/system/openstack-swift-storage.service 0040755 0 0 /usr/share/swift 0040755 0 0 /usr/share/swift/etc 0040755 0 0 /usr/share/swift/etc/swift diff --git a/openstack/usr/lib/systemd/system/openstack-swift-storage.service b/openstack/usr/lib/systemd/system/openstack-swift-storage.service new file mode 100644 index 00000000..dbcdc18a --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-swift-storage.service @@ -0,0 +1,12 @@ +[Unit] +Description=OpenStack Swift Storage +After=syslog.target network.target openstack-keystone.service openstack-swift-storage-setup.service + +[Service] +Type=forking +Restart=on-failure +ExecStart=/usr/bin/swift-init all start +ExecStop=/usr/bin/swift-init all stop + +[Install] +WantedBy=multi-user.target |