summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* src/php-fpm.logrotate.in: add a logrotate script for php-fpm.Michael Orlitzky2020-01-221-0/+1
| | | | | | | | | | | Since all of the log files for php-fpm wind up in the same place regardless of slot, we install a single logrotate file as part of eselect-php. The contents of the file may not be perfect -- they were taken from the example submitted on bug 692194 untested -- but will be easy to update in the future. Bug: https://bugs.gentoo.org/692194 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* src/php-fpm-launcher.in: add php-fpm-launcher wrapper script.Michael Orlitzky2020-01-221-0/+1
| | | | | | | | | | | | | | While OpenRC services are powerful enough to compute the selected version of php-fpm, the corresponding systemd services are not and must use a fixed path. The executable at that fixed path must therefore decide which version of php-fpm to run before running it. This commit adds a script to do just that. This script is already present in the app-eselect/eselect-php package, tacked on from $FILESDIR. It's a better fit as part of the repository. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* configure.ac: place build artifacts in the "build-aux" directory.Michael Orlitzky2020-01-221-2/+1
| | | | | | | | | | | | | During the build, autotools generates a bunch of files that need a place to live. By default, most of them (the "missing" script, for example) wind up in the project root. This commit sets AC_CONFIG_AUX_DIR([build-aux]) in configure.ac so that the aforementioned files are placed in the build-aux directory instead. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* Use "init.d" and "conf.d" subdirectories of "openrc".Michael Orlitzky2017-07-261-2/+2
| | | | | | | OpenRC's init and conf files need to be named the same, and so we hit problems trying to store them both in the "openrc" directory. This commit puts the conf file in a "conf.d" subdirectory and the init script in an "init.d" subdirectory.
* Rename OpenRC init script and config file.Michael Orlitzky2017-07-251-2/+2
| | | | | | | | | The OpenRC init script is now installed by the Makefile, so to be useful it needs to be called "php-fpm". To that end, I've renamed both the init script and the config file to lack the word "example". Moreover, now that these files are code-like and not documentation-like, I've renamed the directory containing them from "doc" to "openrc".
* Add intermediate file doc/php-fpm.example.init.in to gitignore.Michael Orlitzky2017-07-191-0/+1
|
* Add .gitignoreBrian Evans2017-07-111-0/+13