summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-swift-storage.service
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-swift-storage.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-swift-storage.service13
1 files changed, 13 insertions, 0 deletions
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..291b8e5b
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-swift-storage.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenStack Swift Storage
+After=syslog.target network.target openstack-keystone.service
+
+[Service]
+Type=simple
+Restart=on-failure
+User=swift
+ExecStart=/usr/bin/swift-init all start
+ExecStop=/usr/bin/swift-init all stop
+
+[Install]
+WantedBy=multi-user.target