summaryrefslogtreecommitdiff
path: root/swift/usr/lib/systemd/system/swift-storage.service
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-15 12:17:16 +0000
committerMorph (on behalf of Adam Coldrick) <adam.coldrick@codethink.co.uk>2015-04-15 12:17:16 +0000
commit1c48d3928a4134a3235e63e6ba0b25f8610d16e1 (patch)
treea1225f3d8257065ae6a9b85a14365acd742a021a /swift/usr/lib/systemd/system/swift-storage.service
parent48acca6f7c63420d49e1a9e7a41beb4309fa53e7 (diff)
downloaddefinitions-1c48d3928a4134a3235e63e6ba0b25f8610d16e1.tar.gz
Morph build c3874f415dc6448ca28d9a01edab0948
System branch: master
Diffstat (limited to 'swift/usr/lib/systemd/system/swift-storage.service')
-rw-r--r--swift/usr/lib/systemd/system/swift-storage.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/swift/usr/lib/systemd/system/swift-storage.service b/swift/usr/lib/systemd/system/swift-storage.service
new file mode 100644
index 00000000..dc41d3bc
--- /dev/null
+++ b/swift/usr/lib/systemd/system/swift-storage.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Swift Storage
+After=syslog.target network.target 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