aboutsummaryrefslogtreecommitdiff
path: root/lang/php5/files/php5-fastcgi.init
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2016-10-16 20:56:11 +0200
committerMichael Heimpold <mhei@heimpold.de>2016-10-16 20:56:14 +0200
commit7122495899cfc20f8c4489fcc8b6dbe35791d7c6 (patch)
tree95373931d6dc45897127e7b57e00f9797b2dddea /lang/php5/files/php5-fastcgi.init
parent80f0ea5728926c6723f7113a54cfe551e943eec4 (diff)
php5/php5-pecl-*: R.I.P.
Remove the php5 stuff since php7 is in place for several weeks and all depended in-tree packages has been migrated. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'lang/php5/files/php5-fastcgi.init')
-rw-r--r--lang/php5/files/php5-fastcgi.init30
1 files changed, 0 insertions, 30 deletions
diff --git a/lang/php5/files/php5-fastcgi.init b/lang/php5/files/php5-fastcgi.init
deleted file mode 100644
index 0c452ad27..000000000
--- a/lang/php5/files/php5-fastcgi.init
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2010-2011 OpenWrt.org
-
-START=50
-
-SERVICE_DAEMONIZE=1
-SERVICE_WRITE_PID=1
-
-start_instance() {
- local section="$1"
- local enabled
- local port
-
- config_get_bool enabled "$section" 'enabled' 0
- config_get port "$section" 'port' 1026
-
- [ $enabled -gt 0 ] || return 1
-
- PHP_FCGI_CHILDREN='' \
- service_start /usr/bin/php-fcgi -b $port
-}
-
-start() {
- config_load 'php5-fastcgi'
- config_foreach start_instance 'php5-fastcgi'
-}
-
-stop() {
- service_stop /usr/bin/php-fcgi
-}