summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-09-11 16:49:17 +0200
committerManuel Rüger <mrueg@gentoo.org>2015-09-11 16:49:35 +0200
commitbf38f33960bd0341da5e0cb26ff56121da29c785 (patch)
treed1ae64c7e9f8b15161854a4968671cf1a876fbab /app-eselect/eselect-php/files
parentmedia-tv/kodi: don't enable texturepacker by default (diff)
downloadgentoo-bf38f33960bd0341da5e0cb26ff56121da29c785.tar.gz
gentoo-bf38f33960bd0341da5e0cb26ff56121da29c785.tar.bz2
gentoo-bf38f33960bd0341da5e0cb26ff56121da29c785.zip
app-eselect/eselect-php: Remove old
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-eselect/eselect-php/files')
-rw-r--r--app-eselect/eselect-php/files/70_mod_php5.conf-apache214
-rw-r--r--app-eselect/eselect-php/files/php-fpm.init47
2 files changed, 0 insertions, 61 deletions
diff --git a/app-eselect/eselect-php/files/70_mod_php5.conf-apache2 b/app-eselect/eselect-php/files/70_mod_php5.conf-apache2
deleted file mode 100644
index 7ec8739cf837..000000000000
--- a/app-eselect/eselect-php/files/70_mod_php5.conf-apache2
+++ /dev/null
@@ -1,14 +0,0 @@
-<IfDefine PHP5>
- # Load the module first
- <IfModule !mod_php5.c>
- LoadModule php5_module modules/libphp5.so
- </IfModule>
-
- # Set it to handle the files
- <IfModule mod_mime.c>
- AddHandler application/x-httpd-php .php .php5 .phtml
- AddHandler application/x-httpd-php-source .phps
- </IfModule>
-
- DirectoryIndex index.php index.phtml
-</IfDefine>
diff --git a/app-eselect/eselect-php/files/php-fpm.init b/app-eselect/eselect-php/files/php-fpm.init
deleted file mode 100644
index a186d83478c5..000000000000
--- a/app-eselect/eselect-php/files/php-fpm.init
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-
-set_phpvars() {
- PHPSLOT=${SVCNAME#php-fpm-}
- [ ${PHPSLOT} = 'php-fpm' ] && PHPSLOT="$(eselect php show fpm)"
-
- PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf"
- PHP_FPM_PID="/var/run/php-fpm-${PHPSLOT}.pid"
-}
-
-extra_commands="depend"
-extra_started_commands="reload"
-
-depend() {
- need net
- use apache2 lighttpd nginx
-}
-
-start() {
- ebegin "Starting PHP FastCGI Process Manager"
- set_phpvars
- start-stop-daemon --start --pidfile ${PHP_FPM_PID} --exec \
- /usr/lib/${PHPSLOT}/bin/php-fpm -- -y "${PHP_FPM_CONF}" -g "${PHP_FPM_PID}"
- local i=0
- local timeout=5
- while [ ! -f ${PHP_FPM_PID} ] && [ $i -le $timeout ]; do
- sleep 1
- i=$(($i + 1))
- done
-
- [ $timeout -gt $i ]
- eend $?
-}
-
-stop() {
- ebegin "Stopping PHP FastCGI Process Manager"
- set_phpvars
- start-stop-daemon --signal QUIT --stop --exec /usr/lib/${PHPSLOT}/bin/php-fpm --pidfile ${PHP_FPM_PID}
- eend $?
-}
-
-reload() {
- ebegin "Reloading PHP FastCGI Process Manager"
- set_phpvars
- [ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID})
- eend $?
-}