# php-fpm and systemd integration

- Thread: https://externals.io/message/63138
- Original archive: https://news-web.php.net/php.internals/63138
- Started by Remi Collet on 2012-09-19T15:14:25+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #63138 — Remi Collet — 2012-09-19T15:14:25+00:00

URL: https://externals.io/message/63138#63138

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.
