aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7/php7-fpm.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-27 16:07:08 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-27 16:07:08 +0000
commit4fb3c8ed11196e0b6c254c8d984bf7e4f3987f19 (patch)
tree554a61c1b028a37874dfbcbeb4b38b1091674284 /testing/php7/php7-fpm.initd
parent8658427f6876de9d444f2865f8dfb9f93e4e12ea (diff)
downloadaports-4fb3c8ed11196e0b6c254c8d984bf7e4f3987f19.tar.bz2
aports-4fb3c8ed11196e0b6c254c8d984bf7e4f3987f19.tar.xz
testing/php7: move to community
Diffstat (limited to 'testing/php7/php7-fpm.initd')
-rw-r--r--testing/php7/php7-fpm.initd35
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/php7/php7-fpm.initd b/testing/php7/php7-fpm.initd
deleted file mode 100644
index 1016c68f0d..0000000000
--- a/testing/php7/php7-fpm.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-
-name="PHP7 FastCGI Process Manager"
-cfgfile="/etc/php7/php-fpm.conf"
-pidfile="/var/run/php-fpm7.pid"
-command="/usr/sbin/php-fpm7"
-command_args="--fpm-config $cfgfile --pid $pidfile"
-required_files="$cfgfile"
-
-extra_started_commands="reload reopen"
-description_reload="Reload configuration"
-description_reopen="Reopen log files"
-
-depend() {
- need net
- before apache2 lighttpd nginx
-}
-
-start_pre() {
- ebegin
- $command $command_args -t 2>/dev/null
- eend $?
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME} configuration"
- start-stop-daemon --signal USR2 --pidfile $pidfile
- eend $?
-}
-
-reopen() {
- ebegin Reopening ${SVCNAME} log files""
- start-stop-daemon --signal USR1 --pidfile $pidfile
- eend $?
-}