summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-01-10 09:46:28 +0100
committerSebastian Pipping <sping@gentoo.org>2020-01-18 20:55:10 +0100
commit83987709d1e866c6314eef26aff7e45fae6f921c (patch)
treed9a16b707241d6cc885bcf423f238206d2c7cf78 /www-servers/gatling
parentapp-office/calligraplan: Drop 3.2.1 (diff)
downloadgentoo-83987709d1e866c6314eef26aff7e45fae6f921c.tar.gz
gentoo-83987709d1e866c6314eef26aff7e45fae6f921c.tar.bz2
gentoo-83987709d1e866c6314eef26aff7e45fae6f921c.zip
www-servers/gatling: remove unused files
Closes: https://github.com/gentoo/gentoo/pull/14295 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'www-servers/gatling')
-rw-r--r--www-servers/gatling/files/gatling.initd63
-rw-r--r--www-servers/gatling/files/gatling.initd-263
2 files changed, 0 insertions, 126 deletions
diff --git a/www-servers/gatling/files/gatling.initd b/www-servers/gatling/files/gatling.initd
deleted file mode 100644
index fadb1ce9d17..00000000000
--- a/www-servers/gatling/files/gatling.initd
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Gatling high performance web server init script"
-opts="reload"
-
-depend() {
- need net
-}
-
-checkconfig() {
- # Verify UID is valid for running process.
- if [[ ! $(id ${GATLING_UID} 2>/dev/null) ]]; then
- ewarn "User ${GATLING_UID} not found!"
- return 1
- fi
-
- # Set gatling run opts
- if yesno ${VHOST};then VHOST=-v;else VHOST=-V;fi
- if yesno ${SSL};then SSL=-e;else SSL=-E;fi
- if yesno ${DIR_INDEXING};then DIR_INDEXING=-d;else DIR_INDEXING=-D;fi
- if yesno ${FTP}; then FTP=-f;else FTP=-F;fi
- if yesno ${FTP_AUTH}; then FTP_AUTH=-l;else unset FTP_AUTH;fi
- if yesno ${FTP_UP};then unset FTP_UP;else FTP_UP=-U;fi
- yesno ${TRANS_PROXY} && TRANS_PROXY=-t
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting gatling"
- start-stop-daemon --start --quiet --background --make-pidfile --pidfile ${PID} \
---name gatling --exec /usr/bin/gatling -- -T ${HTTP_TIMEOUT} -i ${IP} -p ${PORT} -P ${PREFETCH} \
-${VHOST} -c ${ROOTDIR} ${DIR_INDEXING} ${TRANS_PROXY} -u ${GATLING_UID} ${FTP} -T ${FTP_TIMEOUT} \
-${FTP_AUTH} ${FTP_UPLOADS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping gatling"
- start-stop-daemon --quiet --stop --pidfile ${PID}
- eend $?
-}
-
-reload() {
- if ! service_started "${SVCNAME}" ; then
- eerror "${SVCNAME} isn't running"
- return 1
- fi
-
- checkconfig || return 1
-
- ebegin "Sending gatling the HUP signal"
- start-stop-daemon --quiet --signal HUP --pidfile ${PID}
-
- ebegin "Restarting gatling server"
- start-stop-daemon --start --quiet --background --make-pidfile --pidfile ${PID} \
---name gatling --exec /usr/bin/gatling -- -T ${HTTP_TIMEOUT} -i ${IP} -p ${PORT} -P ${PREFETCH} \
-${VHOST} -c ${ROOTDIR} ${DIR_INDEXING} ${TRANS_PROXY} -u ${GATLING_UID} ${FTP} -T ${FTP_TIMEOUT} \
-${FTP_AUTH} ${FTP_UPLOADS}
- eend $?
-}
diff --git a/www-servers/gatling/files/gatling.initd-2 b/www-servers/gatling/files/gatling.initd-2
deleted file mode 100644
index 77f436009b3..00000000000
--- a/www-servers/gatling/files/gatling.initd-2
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Gatling high performance web server init script"
-extra_started_commands="reload"
-
-depend() {
- need net
-}
-
-checkconfig() {
- # Verify UID is valid for running process.
- if [[ ! $(id ${GATLING_UID} 2>/dev/null) ]]; then
- ewarn "User ${GATLING_UID} not found!"
- return 1
- fi
-
- # Set gatling run opts
- if yesno ${VHOST};then VHOST=-v;else VHOST=-V;fi
- if yesno ${SSL};then SSL=-e;else SSL=-E;fi
- if yesno ${DIR_INDEXING};then DIR_INDEXING=-d;else DIR_INDEXING=-D;fi
- if yesno ${FTP}; then FTP=-f;else FTP=-F;fi
- if yesno ${FTP_AUTH}; then FTP_AUTH=-l;else unset FTP_AUTH;fi
- if yesno ${FTP_UP};then unset FTP_UP;else FTP_UP=-U;fi
- if yesno ${TRANS_PROXY};then TRANS_PROXY=-t;else unset TRANS_PROXY;fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting gatling"
- start-stop-daemon --start --quiet --background --make-pidfile --pidfile ${PID} \
---name gatling --exec /usr/bin/gatling -- -T ${HTTP_TIMEOUT} -i ${IP} -p ${PORT} -P ${PREFETCH} \
-${VHOST} -c ${ROOTDIR} ${DIR_INDEXING} ${TRANS_PROXY} -u ${GATLING_UID} ${FTP} -T ${FTP_TIMEOUT} \
-${FTP_AUTH} ${FTP_UPLOADS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping gatling"
- start-stop-daemon --quiet --stop --pidfile ${PID}
- eend $?
-}
-
-reload() {
- if ! service_started "${SVCNAME}" ; then
- eerror "${SVCNAME} isn't running"
- return 1
- fi
-
- checkconfig || return 1
-
- ebegin "Sending gatling the HUP signal"
- start-stop-daemon --quiet --signal HUP --pidfile ${PID}
-
- ebegin "Restarting gatling server"
- start-stop-daemon --start --quiet --background --make-pidfile --pidfile ${PID} \
---name gatling --exec /usr/bin/gatling -- -T ${HTTP_TIMEOUT} -i ${IP} -p ${PORT} -P ${PREFETCH} \
-${VHOST} -c ${ROOTDIR} ${DIR_INDEXING} ${TRANS_PROXY} -u ${GATLING_UID} ${FTP} -T ${FTP_TIMEOUT} \
-${FTP_AUTH} ${FTP_UPLOADS}
- eend $?
-}