Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4070 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2011-04-27 05:38 +1000 |
| Last post | 2011-04-27 05:38 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Restarting a daemon Chris Angelico <rosuav@gmail.com> - 2011-04-27 05:38 +1000
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2011-04-27 05:38 +1000 |
| Subject | Re: Restarting a daemon |
| Message-ID | <mailman.865.1303846731.9059.python-list@python.org> |
On Tue, Apr 26, 2011 at 10:13 PM, Jeffrey Barish <jeff_barish@earthlink.net> wrote: > Not exactly a Python question, but I thought I would start here. > > I have a server that runs as a daemon. I can restart the server manually > with the command > > myserver restart > > This command starts a new myserver which first looks up the pid for the one > that is running and sends it a terminate signal. The new one then > daemonizes itself. What job manager do you have? Can you set up a script in /etc/init.d or /etc/init and then use that to restart the daemon? Upstart scripts can be managed with the 'initctl' command, for instance. Chris Angelico
Back to top | Article view | comp.lang.python
csiph-web