Merge "saio: Stop processes more forcefully in resetswift"
This commit is contained in:
commit
e47b854181
@ -3,6 +3,8 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
swift-init all kill
|
swift-init all kill
|
||||||
|
swift-orphans -a 0 -k KILL
|
||||||
|
|
||||||
# Remove the following line if you did not set up rsyslog for individual logging:
|
# Remove the following line if you did not set up rsyslog for individual logging:
|
||||||
sudo find /var/log/swift -type f -exec rm -f {} \;
|
sudo find /var/log/swift -type f -exec rm -f {} \;
|
||||||
if cut -d' ' -f2 /proc/mounts | grep -q /mnt/sdb1 ; then
|
if cut -d' ' -f2 /proc/mounts | grep -q /mnt/sdb1 ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user