I've noticed that when I change one of the settings in settings_local.py, it doesn't take affect until I restart the entire machine. How do I restart only the OSQA service instead?

asked 21 Feb '11, 02:34

ripper234's gravatar image

ripper234 ♦
3.2k60116123
accept rate: 19%

edited 21 Feb '11, 02:34


You need to restart just your web server process; for example apache/bin/restart

link

answered 08 Apr '11, 02:08

Andrew_S's gravatar image

Andrew_S ♦
5.6k45674
accept rate: 21%

Thanks, I got it by now :)

(08 Apr '11, 02:52) ripper234 ♦

I've found that you have to make sure that apache actually stops completely and then start it again - on some systems you can give it a "restart" command and it will kind of start itself over, but the process doesn't actually go away. In that case, it doesn't recognize changes to the .py files that it's already read.

(08 Apr '11, 10:57) gperrow
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

Tags:

×18

Asked: 21 Feb '11, 02:34

Seen: 762 times

Last updated: 08 Apr '11, 10:57

powered by OSQA