Skip to content

Instantly share code, notes, and snippets.

@twetzel
Created July 22, 2012 00:35
Show Gist options
  • Save twetzel/3157719 to your computer and use it in GitHub Desktop.
Save twetzel/3157719 to your computer and use it in GitHub Desktop.
private_pub Deamon .. kill process @ port
# => Start private_pub (Faye) as Deamon
RAILS_ENV=production bundle exec rackup private_pub.ru -s thin -E production -D
# => find Process on Port x
fuser -n tcp 9292
-> 9292/tcp: 3748
# => kill process
kill -9 3748
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment