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


Groups > comp.lang.python > #102543

Re: Daemon strategy

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ray Cote <rgacote@appropriatesolutions.com>
Newsgroups comp.lang.python
Subject Re: Daemon strategy
Date Fri, 5 Feb 2016 13:56:40 -0500
Lines 43
Message-ID <mailman.10.1454698633.2317.python-list@python.org> (permalink)
References <CAJ4+4apHhfYBw33xVsG_dFbf9iEGfiiimh0mHCq=LGo0d96yWg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de Tu8/QqwDHjPJLRxrsbXscwe/fkPoXisohBuQXjJlkVwg==
Return-Path <rgacote@appropriatesolutions.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; '(python': 0.05; 'cc:addr :python-list': 0.09; 'type)': 0.09; '2016': 0.16; 'configuring,': 0.16; 'downside': 0.16; 'install.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:strategy': 0.16; 'wrote:': 0.16; 'app': 0.16; 'pfxlen:0': 0.18; 'processor': 0.18; 'email addr:gmail.com&gt;': 0.18; 'runs': 0.18; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'controlling': 0.22; 'cc:no real name:2**0': 0.22; 'appears': 0.23; 'feb': 0.23; 'eager': 0.23; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'separate': 0.27; 'message-id:@mail.gmail.com': 0.27; 'command- line': 0.29; 'reduced': 0.29; 'url:mailman': 0.30; 'raymond': 0.30; 'another': 0.32; 'run': 0.33; 'url:python': 0.33; 'windows.': 0.33; 'url:listinfo': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'stopped': 0.35; 'should': 0.36; 'url:org': 0.36; 'tool': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'setting': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'skype:': 0.38; 'wrong': 0.38; 'building': 0.38; 'test': 0.39; 'application': 0.39; 'takes': 0.39; 'url:mail': 0.40; 'email:': 0.62; 'service.': 0.63; 'great': 0.63; 'our': 0.64; 'services': 0.67; 'services.': 0.72; 'upside': 0.84; 'avoided.': 0.91; 'url:cc': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=appropriatesolutions.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=f9Jf6/1eBiD4TJmS8w//UvbaLEGD9I/OpHqu6O/6QKU=; b=PF5c1Uys9cz+npP8CBML7Q/uAvqVBhFHnRqyW2IK0drg74oCerKhP5dAfWqr1tGZCy MdaSRcGpmpYbNdJKFHC9CDDt6eUImEonf0Yl+l6p5DqT1Iy3eKDQX4cdKZCCkvVkLUXv 4kgIAGSaQCINg7wuSlX5Fj2hhWgpIar+GgyFQ=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=f9Jf6/1eBiD4TJmS8w//UvbaLEGD9I/OpHqu6O/6QKU=; b=ZaHs9RRVEIvngQDFs8ZgOmHObFCUYyHLr8xdQ/9uKplkUuH4RSmL9jdZkHrDwBzb2e LdOi+r3mTc3iyeN/vFEJAeKF9NYlc5XQq3q1s+czUgC2GUN5TD2aGkmgAPNAkT36kswH QH/xlBuoxxzND1v8YifHoWag+JccethO2JSCmlQAIft35iUynFR/d2yNYeeid9CjJnoe Og/XJ+ETVecOAq27se0SANHX1EfwQ86TbZR3CxnDUugcXaFBNc9Mc1HznSUs+h5eTzty 1s9x03pK3gKWS/mMnrO84lUGpvIXksxGS3EqZMHMyvtTn5fRjM8mwwWZFmBALFq9ZqSU d7IA==
X-Gm-Message-State AG10YOSuDVKEPDHUx5ZDFVP9g1gbh3XzhIGX/WNdvWJvIvzqeCV60jIYXNuIDnEB6ZcZIMq/fbD5bi8dY0/MDA==
X-Received by 10.31.164.13 with SMTP id n13mr10496630vke.64.1454698630221; Fri, 05 Feb 2016 10:57:10 -0800 (PST)
In-Reply-To <CAJ4+4apHhfYBw33xVsG_dFbf9iEGfiiimh0mHCq=LGo0d96yWg@mail.gmail.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.21rc2
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
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>
Xref csiph.com comp.lang.python:102543

Show key headers only | View raw


We’ve recently stopped building Windows services (Python or any other type)
and started using the NSSM service manager.
Takes a normal Windows application and runs it as a service.
The NSSM service manager provides great command-line support for
installing, configuring, and controlling Windows services.
Has greatly reduced our development time and test time since we no longer
need to test both app and service executables.

<http://www.nssm.cc>

Downside is that it is a separate tool to install.
Upside is that it has features such as :
  - run-once at startup.
  - auto-restart failed services
  - setting service dependences (don’t start until another service is up
and running)
  - set processor dependencies

—Ray


On Fri, Feb 5, 2016 at 1:39 PM, <paul.hermeneutic@gmail.com> wrote:

> It appears that python-deamon would be exactly what I need. Alas,
> appears not to run on Windows. If I am wrong about that, please tell
> me.
>
> To what tools should I turn?
>
> I am not eager to produce a "service" on Windows unless it cannot be
> avoided.
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Raymond Cote, President
voice: +1.603.924.6079 email: rgacote@AppropriateSolutions.com skype:
ray.cote

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


Thread

Re: Daemon strategy Ray Cote <rgacote@appropriatesolutions.com> - 2016-02-05 13:56 -0500

csiph-web