Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63138 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40953 invoked from network); 19 Sep 2012 15:14:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2012 15:14:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 212.27.42.5 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 212.27.42.5 smtp5-g21.free.fr Linux 2.6 Received: from [212.27.42.5] ([212.27.42.5:34899] helo=smtp5-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/04-15057-951E9505 for ; Wed, 19 Sep 2012 11:14:35 -0400 Received: from dixsept.famillecollet.com (unknown [82.241.130.121]) by smtp5-g21.free.fr (Postfix) with ESMTP id 7309BD4803C for ; Wed, 19 Sep 2012 17:14:27 +0200 (CEST) Message-ID: <5059E151.7020308@fedoraproject.org> Date: Wed, 19 Sep 2012 17:14:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: php-fpm and systemd integration From: remi@fedoraproject.org (Remi Collet) Hi, For now php-fpm provides and init.d sample script. I propose to also provide an unit sample file. During updating systemd management in fedora, I notice it is quite ugly to rely on configuration file for daemonize option, as user can change this value (testing purpose) and will break the launcher. So, I also propose to add --daemonize / --nodaemonize to command line options which will make this more robust. Bug filed, with patch attached: https://bugs.php.net/bug.php?id=63085 This not change current behavior and installed configuration. Please review / comment / ... (from php dev, and other distro packager) Best regards, Remi.