Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ray Cote Newsgroups: comp.lang.python Subject: Re: Daemon strategy Date: Fri, 5 Feb 2016 13:56:40 -0500 Lines: 43 Message-ID: References: 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: 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>': 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102543 We=E2=80=99ve recently stopped building Windows services (Python or any oth= er 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. 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=E2=80=99t start until another service = is up and running) - set processor dependencies =E2=80=94Ray On Fri, Feb 5, 2016 at 1:39 PM, 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 > --=20 Raymond Cote, President voice: +1.603.924.6079 email: rgacote@AppropriateSolutions.com skype: ray.cote