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:
parent
cf07365002
commit
d46a0a8262
5
elements/swift-storage/install.d/76-swift-dirs
Executable file
5
elements/swift-storage/install.d/76-swift-dirs
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
install -d -o swift -g swift /srv/node /var/cache/swift
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user