diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-03-17 08:22:17 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-03-17 13:35:20 +0000 |
commit | fd64cbc0abbe0659c8ebbb4d3742dd1fbbfbca78 (patch) | |
tree | 190a60922bf9762effd1cf7207e496cba566429f | |
parent | 7b2211e353a82b9a62aef5dbc2d5529234cb93f8 (diff) | |
download | definitions-fd64cbc0abbe0659c8ebbb4d3742dd1fbbfbca78.tar.gz |
Add unit for starting swift storage services
-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 |