diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-04-01 14:39:24 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-04-02 13:24:29 +0000 |
commit | 504a0cbbd7636da889c71b05659d59d0acada350 (patch) | |
tree | 75a6173c79d68c5aace90dc00a40f19c0a8345ed /swift/usr/lib/systemd/system/swift-storage.service | |
parent | 4a0c414a64166472a7afe1303f007f779b9d65f1 (diff) | |
download | definitions-504a0cbbd7636da889c71b05659d59d0acada350.tar.gz |
Add configuration for swift storage nodes
Change-Id: Iad40b665edff7a3605b6600dafbcf67831e4290a
Diffstat (limited to 'swift/usr/lib/systemd/system/swift-storage.service')
-rw-r--r-- | swift/usr/lib/systemd/system/swift-storage.service | 12 |
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..dbcdc18a --- /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 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 |