Skip to content

Commit

Permalink
Run swift-proxy from screen.
Browse files Browse the repository at this point in the history
- Fixes bug 956172

Change-Id: I9a83d6afc04596bf84e3cf27a3f3f6f7b7d05180
  • Loading branch information
chmouel committed Mar 15, 2012
1 parent 7c7dedb commit 185c66e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stack.sh
Expand Up @@ -1182,9 +1182,10 @@ if is_service_enabled swift; then
# We then can start rsync.
sudo /etc/init.d/rsync restart || :

# TODO: Bring some services in foreground.
# Launch all services.
# With swift-init we are first spawning all the swift services but kill the
# proxy service so we can run it in foreground in screen.
swift-init all restart
swift-init proxy stop

unset s swift_hash swift_auth_server
fi
Expand Down Expand Up @@ -1619,6 +1620,7 @@ screen_it n-novnc "cd $NOVNC_DIR && ./utils/nova-novncproxy --config-file $NOVA_
screen_it n-xvnc "cd $NOVA_DIR && ./bin/nova-xvpvncproxy --config-file $NOVA_CONF_DIR/$NOVA_CONF"
screen_it n-cauth "cd $NOVA_DIR && ./bin/nova-consoleauth"
screen_it horizon "cd $HORIZON_DIR && sudo tail -f /var/log/apache2/error.log"
screen_it swift "cd $SWIFT_DIR && $SWIFT_DIR/bin/swift-proxy-server ${SWIFT_CONFIG_LOCATION}/proxy-server.conf -v"


# Install Images
Expand Down

0 comments on commit 185c66e

Please sign in to comment.