Skip to content

Instantly share code, notes, and snippets.

@buddy-sandidge
Created September 4, 2012 17:51
Show Gist options
  • Save buddy-sandidge/3624120 to your computer and use it in GitHub Desktop.
Save buddy-sandidge/3624120 to your computer and use it in GitHub Desktop.
All services needed to run the BM VM. Usage: ./all-services (start|stop|restart)
#!/usr/bin/env bash
cmd=$1
function do_cmd {
instance=$1
$cmd memcached config=$instance
}
do_cmd api_obj_cache
do_cmd api_session_cache
do_cmd js_cache
do_cmd magento_object_cache
do_cmd magento_session_cache
do_cmd platform_cache
$cmd spawn-fcgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment