Need help for a valid systemctl service file for a production 2.4.43
Tom Browder <[email protected]> Thu, 18 Jun 2020 15:52:41 -0500
| Newsgroups | gmane.comp.apache.mod-perl.devel |
|---|---|
| Message-ID | <CAFMGiz-8N+92uucRDN+x9Ccys1wGdDe9pxAqFr87T8MBG9eD4A@mail.gmail.com> |
It seems many folks who are helpful on the users mailing list use the Debian package for Apache and it installs a systemctl service file. For users such as I who install from source it would be great if the docs gave a better example. Looking at the current 2.4 docs I see for mod_systemd: <quote> Example of systemd service unit (more settings are probably needed for production systems) [Unit] Description=The Apache HTTP Server After=network.target [Service] Type=notify ExecStart=/usr/local/apache2/bin/httpd -D FOREGROUND -k start ExecReload=/usr/local/apache2/bin/httpd -k graceful KillMode=mixed [Install] WantedBy=multi-user.target </quote> Is the above example safe to use on a robust Apache installation? (The words in the first line are not very encouraging.) Thanks. Best regards, -Tom