Skip to content

Commit

Permalink
move devices into /srv/node instead of /srv
Browse files Browse the repository at this point in the history
  • Loading branch information
Curtis Collicutt committed Mar 10, 2016
1 parent 5e39179 commit 36cb2e1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions files/account-server.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[DEFAULT]
devices = /srv
devices = /srv/node
mount_check = false
disable_fallocate = true
bind_port = 6012
Expand All @@ -23,4 +23,4 @@ vm_test_mode = yes

[account-auditor]

[account-reaper]
[account-reaper]
4 changes: 2 additions & 2 deletions files/container-server.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[DEFAULT]
devices = /srv
devices = /srv/node
mount_check = false
disable_fallocate = true
bind_port = 6011
Expand All @@ -26,4 +26,4 @@ vm_test_mode = yes

[container-auditor]

[container-sync]
[container-sync]
4 changes: 2 additions & 2 deletions files/object-server.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[DEFAULT]
devices = /srv
devices = /srv/node
mount_check = false
disable_fallocate = true
bind_port = 6010
Expand All @@ -23,4 +23,4 @@ vm_test_mode = yes

[object-updater]

[object-auditor]
[object-auditor]
8 changes: 4 additions & 4 deletions files/rsyncd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ address = 127.0.0.1

[account6012]
max connections = 25
path = /srv/
path = /srv/node
read only = false
lock file = /var/lock/account6012.lock

[container6011]
max connections = 25
path = /srv/
path = /srv/node
read only = false
lock file = /var/lock/container6011.lock

[object6010]
max connections = 25
path = /srv/
path = /srv/node
read only = false
lock file = /var/lock/object6010.lock
lock file = /var/lock/object6010.lock
3 changes: 3 additions & 0 deletions files/startmain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ fi

# This comes from a volume, so need to chown it here, not sure of a better way
# to get it owned by Swift.
if [ ! -e /srv/node ]; then
mkdir /srv/node
fi
chown -R swift:swift /srv

if [ ! -e /etc/swift/account.builder ]; then
Expand Down

0 comments on commit 36cb2e1

Please sign in to comment.