WebFaction
Community site: login faq

I have been dabeling in flask lately (which is a micro framework written in python) and have come across an interesting problem. After writing my the script I ran it using the command:

nohup python2.6 app.py &

Now I can't seem to stop the app for the life of me. Is there something I need to do special for webfaction? Or am I just flaking out?

asked 09 Nov '10, 13:53

joshfinnie
961913
accept rate: 0%


Run this command to get a list of your running processes and their IDs:

ps -u joshfinnie -o pid,command

Locate the process you want to stop and get its ID, then enter:

kill process_ID

That should stop the app.

permanent link

answered 09 Nov '10, 14:32

maryh
1.3k7
accept rate: 35%

edited 09 Nov '10, 14:33

Thanks! This worked.

(10 Nov '10, 19:27) joshfinnie
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×337
×44
×7
×3

question asked: 09 Nov '10, 13:53

question was seen: 5,155 times

last updated: 10 Nov '10, 19:27

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM