Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1C01D289 for ; Wed, 3 Oct 2012 11:23:17 +0000 (UTC) Received: (qmail 71489 invoked by uid 500); 3 Oct 2012 11:23:17 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 71195 invoked by uid 500); 3 Oct 2012 11:23:14 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 71155 invoked by uid 99); 3 Oct 2012 11:23:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 11:23:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margol@beamartyr.net designates 85.195.98.136 as permitted sender) Received: from [85.195.98.136] (HELO zaphod.mirimar.net) (85.195.98.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 11:23:07 +0000 Received: from [2.52.117.214] (31-154-113-76.orange.net.il [2.55.113.76] (may be forged)) (authenticated bits=0) by mail1.mirimar.net (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id q93BMQ7B019057 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 3 Oct 2012 13:22:33 +0200 From: Issac Goldstand To: Date: Wed, 03 Oct 2012 13:22:32 +0200 Message-ID: <13a265ce10a.d59.2782.margol@beamartyr.net> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 AquaMail/1.1.0.9.9y (build: 2000051) Subject: Re: [PATCH] mod_systemd MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on zaphod.mirimar.net X-Virus-Scanned: clamav-milter 0.96.5 at zaphod X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_RP_RNBL,RDNS_DYNAMIC autolearn=no version=3.3.2 +1 on concept, but Im on vacation so cant actually review the code Sent with AquaMail for Android http://www.aqua-mail.com On October 3, 2012 12:51:56 PM Jim Jagielski wrote: > +1 > > On Oct 3, 2012, at 4:28 AM, Joe Orton wrote: > > > On Wed, Sep 26, 2012 at 11:10:07AM -0400, Jan Kaluza wrote: > >> attached patch adds new module called mod_systemd. Systemd [1] is > >> service manager for Linux. Although httpd works with systemd normally, > >> systemd provides sd_notify(...) function [2] to inform service manager > >> about current status of the service. Status message passed to service > >> manager using this function is later visible in "systemctl status > >> httpd.service" output and can provide useful information about current > >> httpd status. > > > > Any objections from the list to adding this? systemd integration is a > > nice feature. > > > > [root@virt-f18e ~]# systemctl status httpd.service > > httpd.service - The Apache HTTP Server > > Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled) > > Active: active (running) since Wed, 03 Oct 2012 08:24:58 +0100; > 2min 17s ago > > Main PID: 403 (httpd) > > Status: "Total requests: 1100; Current requests/sec: 80.1; Current > traffic: 350KB/sec" > > CGroup: name=systemd:/system/httpd.service > > ├ 403 /usr/sbin/httpd -DFOREGROUND > > ├ 441 /usr/sbin/httpd -DFOREGROUND > > ├ 444 /usr/sbin/httpd -DFOREGROUND > > ├ 445 /usr/sbin/httpd -DFOREGROUND > > ├ 446 /usr/sbin/httpd -DFOREGROUND > > ├ 447 /usr/sbin/httpd -DFOREGROUND > > ├ 448 /usr/sbin/httpd -DFOREGROUND > > └ 470 /usr/sbin/httpd -DFOREGROUND > >