Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77772 > unrolled thread

Example of python service running under systemd?

Started byTravis Griggs <travisgriggs@gmail.com>
First post2014-09-11 10:48 -0700
Last post2014-09-13 12:48 +1000
Articles 4 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Example of python service running under systemd? Travis Griggs <travisgriggs@gmail.com> - 2014-09-11 10:48 -0700
    Re: Example of python service running under systemd? CHIN Dihedral <dihedral88888@gmail.com> - 2014-09-12 13:05 -0700
      Re: Example of python service running under systemd? Michael Torrie <torriem@gmail.com> - 2014-09-12 20:36 -0600
      Re: Example of python service running under systemd? Chris Angelico <rosuav@gmail.com> - 2014-09-13 12:48 +1000

#77772 — Example of python service running under systemd?

FromTravis Griggs <travisgriggs@gmail.com>
Date2014-09-11 10:48 -0700
SubjectExample of python service running under systemd?
Message-ID<mailman.13937.1410457692.18130.python-list@python.org>
I’ve been reading lots of systemd docs. And blogs. Etc. At this point, I think I would benefit from learning by example…

Does anyone have an example .service file that they use to launch a long running service written as a python program?

If there is any example of what you changed to your python program itself, that to would be really instructional for me.

[toc] | [next] | [standalone]


#77821

FromCHIN Dihedral <dihedral88888@gmail.com>
Date2014-09-12 13:05 -0700
Message-ID<15e4e01c-dde1-48f7-bfc1-0468a436897e@googlegroups.com>
In reply to#77772
On Friday, September 12, 2014 1:48:37 AM UTC+8, Travis Griggs wrote:
> I've been reading lots of systemd docs. And blogs. Etc. At this point, I think I would benefit from learning by example...
> 
> 
> 
> Does anyone have an example .service file that they use to launch a long running service written as a python program?
> 
> 
> 
> If there is any example of what you changed to your python program itself, that to would be really instructional for me.

Please check the examples in wxpython
and boa.

[toc] | [prev] | [next] | [standalone]


#77827

FromMichael Torrie <torriem@gmail.com>
Date2014-09-12 20:36 -0600
Message-ID<mailman.13987.1410575801.18130.python-list@python.org>
In reply to#77821
On 09/12/2014 02:05 PM, CHIN Dihedral wrote:
> Please check the examples in wxpython and boa.

Oh funny.  Just when I think the bot is ready to pass a turing test we
get a regression.

[toc] | [prev] | [next] | [standalone]


#77828

FromChris Angelico <rosuav@gmail.com>
Date2014-09-13 12:48 +1000
Message-ID<mailman.13988.1410576511.18130.python-list@python.org>
In reply to#77821
On Sat, Sep 13, 2014 at 12:36 PM, Michael Torrie <torriem@gmail.com> wrote:
> Oh funny.  Just when I think the bot is ready to pass a turing test we
> get a regression.

Ah, the Turing test... everyone loves it. I had some really naughty
fun with that name a while ago. In my D&D world themed on Wonderland,
there are two rival manufacturers who produce a drinkable form of
intelligence. One form is drained from real people, stolen from our
world (they send them back with empty liquor bottles and nobody
notices the difference - or else they just take from middle
management, and again, nobody notices), and the other produces an
artificial form, which is dangerously addictive. The test of
addictiveness is how it "tours", and when eventually a safer form of
manufactured stuff was developed, it was hailed as "artificial
intelligence that passes the touring test"...

Yeah, they listened to rumours in the tavern, and that was their pun-ishment...

ChrisA

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web