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


Groups > comp.lang.python > #77772

Example of python service running under systemd?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <travisgriggs@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.094
X-Spam-Evidence '*H*': 0.81; '*S*': 0.00; 'python': 0.11; 'docs.': 0.16; 'itself,': 0.16; 'program?': 0.16; 'subject:under': 0.16; 'subject:python': 0.16; 'written': 0.21; 'example': 0.22; 'received:172.16': 0.29; 'anyone': 0.31; 'file': 0.32; 'running': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'subject:service': 0.36; 'subject:?': 0.36; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'launch': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'header:Message-Id:1': 0.63; 'charset:windows-1252': 0.65; 'benefit': 0.68; 'i\x92ve': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=wGk2sal0eomHBURU5O8vWowymUaER/FD7WI8R2M8oXY=; b=as8zEr4l+ZFgSKgDJcNi+Np0MDsmXkXJHmNWVnwaPu4IUn+Suwb3GGlov5gdRQ83gO 8oarF4s/dshZqSoc2ixqu96qPHkJiasYogzvdYyH3Ii+7xpQrCv9+ADB8qOelnXXMxyR JI8NZQxY8HssvGlrcdqE8HlY0iDdGmQ7/kH7QCYLJ02EuwOmMfD8knwZxOU3kgwKTRw+ 7XXNt6HBsL2BNUzFadzaSu0FHIuwqdhfIasyqXnd0AT1OFN3SPpYbyjUyLivPuDTv7Rp UP31wR48ZKWiTrFucl9sjPLXV7TlZMcWUZBNpUm6U6tatLA2r1Z0vsCokLGnps4Zd9Mx YnQQ==
X-Received by 10.68.245.135 with SMTP id xo7mr3575058pbc.161.1410457689525; Thu, 11 Sep 2014 10:48:09 -0700 (PDT)
From Travis Griggs <travisgriggs@gmail.com>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding quoted-printable
Subject Example of python service running under systemd?
Date Thu, 11 Sep 2014 10:48:07 -0700
To python-list@python.org
Mime-Version 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer Apple Mail (2.1878.6)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13937.1410457692.18130.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1410457692 news.xs4all.nl 2951 [2001:888:2000:d::a6]:50178
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77772

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web