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 57E8DD23F for ; Wed, 3 Oct 2012 11:14:49 +0000 (UTC) Received: (qmail 44322 invoked by uid 500); 3 Oct 2012 11:14:48 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 44065 invoked by uid 500); 3 Oct 2012 11:14:48 -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 44050 invoked by uid 99); 3 Oct 2012 11:14:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 11:14:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of buanzo@buanzo.com.ar designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vb0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 11:14:39 +0000 Received: by vbip1 with SMTP id p1so9837365vbi.18 for ; Wed, 03 Oct 2012 04:14:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Al/AgX1HtzDcJhSehYv0So7vs0QxuYT990a0Q9W5c7M=; b=lJumQ7V7eZYCrXg8FTg3lxWDpYL6Q/my964gOo7CRXbKtko2XFmKD5pfO+9VW8sfpX rMuSBKQkLF8P3ohv3Njju8HdBtwvAcKBaerhM0qlq8QDF1ftdeuWH4kVemjoNpFaDzIp LsoCh2FJZoRHERzfZtJs7WuvATfxwI9enw+4SqkS7TPyzikP9wJkirwbHgcTJc6ch1dV ZO2dhst87nSCtpldMZFc9SPM+6r4AgzZ1TaNLYLhKgOnl7tfdQL10NhNJPlWrYmGrTWm 83BczHo1U+9sNh7n34M31I5Nqk+Wdy3w+ez+2kypqgFrOZepD2Q77A2lNisMN6/PZr5Q TjhQ== MIME-Version: 1.0 Received: by 10.220.218.133 with SMTP id hq5mr896937vcb.60.1349262858415; Wed, 03 Oct 2012 04:14:18 -0700 (PDT) Received: by 10.58.68.71 with HTTP; Wed, 3 Oct 2012 04:14:18 -0700 (PDT) Received: by 10.58.68.71 with HTTP; Wed, 3 Oct 2012 04:14:18 -0700 (PDT) In-Reply-To: <20121003082808.GB5742@redhat.com> References: <1246294064.2067511.1348671512951.JavaMail.root@redhat.com> <1581163651.2113591.1348672207694.JavaMail.root@redhat.com> <20121003082808.GB5742@redhat.com> Date: Wed, 3 Oct 2012 08:14:18 -0300 Message-ID: Subject: Re: [PATCH] mod_systemd From: "Arturo 'Buanzo' Busleiman" To: dev@httpd.apache.org Content-Type: multipart/alternative; boundary=14dae9cfc770626ed704cb25bdb1 X-Gm-Message-State: ALoCoQlM9oLejfgSZu/vHxGcab7Jg4ogQveioytKFYafKH12AcydycN2L/uF9aW88YcO+xLn3vdZ --14dae9cfc770626ed704cb25bdb1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable NICE On Oct 3, 2012 5: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=3Dsystemd:/system/httpd.service > =E2=94=9C 403 /usr/sbin/httpd -DFOREGROUND > =E2=94=9C 441 /usr/sbin/httpd -DFOREGROUND > =E2=94=9C 444 /usr/sbin/httpd -DFOREGROUND > =E2=94=9C 445 /usr/sbin/httpd -DFOREGROUND > =E2=94=9C 446 /usr/sbin/httpd -DFOREGROUND > =E2=94=9C 447 /usr/sbin/httpd -DFOREGROUND > =E2=94=9C 448 /usr/sbin/httpd -DFOREGROUND > =E2=94=94 470 /usr/sbin/httpd -DFOREGROUND > > --14dae9cfc770626ed704cb25bdb1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

NICE

On Oct 3, 2012 5:28 AM, "Joe Orton" &l= t;jorton@redhat.com> 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<= br> > manager using this function is later visible in "systemctl status=
> httpd.service" output and can provide useful information about cu= rrent
> httpd status.

Any objections from the list to adding this? =C2=A0systemd integration is a=
nice feature.

[root@virt-f18e ~]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Loaded: loaded (/usr/lib/systemd/system/= httpd.service; enabled)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Active: active (running) since Wed, 03 O= ct 2012 08:24:58 +0100; 2min 17s ago
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Main PID: 403 (httpd)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Status: "Total requests: 1100; Curr= ent requests/sec: 80.1; Current traffic: 350KB/sec"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 CGroup: name=3Dsystemd:/system/httpd.ser= vice
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 40= 3 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 44= 1 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 44= 4 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 44= 5 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 44= 6 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 44= 7 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=9C 44= 8 /usr/sbin/httpd -DFOREGROUND
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=94=94 47= 0 /usr/sbin/httpd -DFOREGROUND

--14dae9cfc770626ed704cb25bdb1--