Add needed swift storage dirs for packaged install

These directories are needed by both the packaged and source installs,
so do their creation into a common install.d script instead.

Change-Id: I7a05030015d17cf33f7fa231a199d78dc9e86b0b
This commit is contained in:
James Slagle 2014-01-31 12:23:44 -05:00
parent cf07365002
commit d46a0a8262
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -eux
install -d -o swift -g swift /srv/node /var/cache/swift

View File

@ -2,8 +2,6 @@
set -eux set -eux
install -d -o swift -g swift /srv/node /var/cache/swift
os-svc-daemon swift-account swift swift-account-server /etc/swift/account-server.conf os-svc-daemon swift-account swift swift-account-server /etc/swift/account-server.conf
os-svc-daemon swift-container swift swift-container-server /etc/swift/container-server.conf os-svc-daemon swift-container swift swift-container-server /etc/swift/container-server.conf
os-svc-daemon swift-object swift swift-object-server /etc/swift/object-server.conf os-svc-daemon swift-object swift swift-object-server /etc/swift/object-server.conf