| ... | ... |
@@ -455,6 +455,9 @@ EOF |
| 455 | 455 |
sudo chown -R ${STACK_USER}:adm ${swift_log_dir}
|
| 456 | 456 |
sed "s,%SWIFT_LOGDIR%,${swift_log_dir}," $FILES/swift/rsyslog.conf | sudo \
|
| 457 | 457 |
tee /etc/rsyslog.d/10-swift.conf |
| 458 |
+ # restart syslog to take the changes |
|
| 459 |
+ sudo killall -HUP rsyslogd |
|
| 460 |
+ |
|
| 458 | 461 |
if is_apache_enabled_service swift; then |
| 459 | 462 |
_config_swift_apache_wsgi |
| 460 | 463 |
fi |
| ... | ... |
@@ -628,8 +631,6 @@ function install_swiftclient {
|
| 628 | 628 |
|
| 629 | 629 |
# start_swift() - Start running processes, including screen |
| 630 | 630 |
function start_swift {
|
| 631 |
- # (re)start rsyslog |
|
| 632 |
- restart_service rsyslog |
|
| 633 | 631 |
# (re)start memcached to make sure we have a clean memcache. |
| 634 | 632 |
restart_service memcached |
| 635 | 633 |
|