Skip to content

Instantly share code, notes, and snippets.

@wingyplus
Created August 26, 2012 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wingyplus/3481094 to your computer and use it in GitHub Desktop.
Save wingyplus/3481094 to your computer and use it in GitHub Desktop.
force stop alfresco
#!/bin/bash
# INSTALL instrutions:
# $ wget https://raw.github.com/gist/3481094/a58d7060ae27f92d7374d4a1d6ab10ca80699027/forcealfresco.sh
# $ chmod +x /path/to/forcealfresco.sh
# USAGE:
# ./forcealfresco.sh
pid=`ps aux | grep /opt/alfresco-4.0.d | awk '{ print $2 }' | head -n 3`
kill -s KILL $pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment