diff options
author | Kacper Kowalik <xarthisius.kk@gmail.com> | 2016-02-12 09:55:52 -0600 |
---|---|---|
committer | Kacper Kowalik <xarthisius.kk@gmail.com> | 2016-02-12 09:55:52 -0600 |
commit | 1ad98ebec2da0ef28d47dfed27c7b027b3d22641 (patch) | |
tree | e6cbc928291e6b1a87b99e3df4e2e9baaf398ed1 /www-servers/jetty-bin/files/init.d/jetty-7 | |
parent | Drop app-admin/python-updater (diff) | |
download | xarthisius-master.tar.gz xarthisius-master.tar.bz2 xarthisius-master.zip |
Diffstat (limited to 'www-servers/jetty-bin/files/init.d/jetty-7')
-rw-r--r-- | www-servers/jetty-bin/files/init.d/jetty-7 | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/www-servers/jetty-bin/files/init.d/jetty-7 b/www-servers/jetty-bin/files/init.d/jetty-7 deleted file mode 100644 index 1e54649..0000000 --- a/www-servers/jetty-bin/files/init.d/jetty-7 +++ /dev/null @@ -1,51 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - ebegin "Starting ${SVCNAME}" - - JETTY_HOME="/var/lib/${SVCNAME}" - CONF_FILES="${JETTY_HOME}/etc/jetty.xml" - JETTY_OPTS="-DSTART=${JETTY_HOME}/start.config" - - if [[ -n ${JETTY_HOST} ]]; then - JETTY_OPTS="${JETTY_OPTS} -Djetty.host=${JETTY_HOST}" - fi - if [[ -n ${JETTY_PORT} ]]; then - JETTY_OPTS="${JETTY_OPTS} -Djetty.port=${JETTY_PORT}" - fi - if [[ -n ${STOP_PORT} ]]; then - JETTY_OPTS="${JETTY_OPTS} -DSTOP.PORT=${STOP_PORT}" - fi - if [[ -n ${STOP_KEY} ]]; then - JETTY_OPTS="${JETTY_OPTS} -DSTOP.KEY=${STOP_KEY}" - fi - if [[ ${USE_SETUID} -eq 1 ]]; then - # Setuid configuration file needs to be the first one in the list - CONF_FILES="${JETTY_HOME}/etc/jetty-setuid.xml ${CONF_FILES}" - JETTY_OPTS="${JETTY_OPTS} -Djava.library.path=/usr/lib64/${SVCNAME}/" - fi - if [[ ${USE_IPV6} -ne 1 ]]; then - JETTY_OPTS="${JETTY_OPTS} -Djava.net.preferIPv4Stack=true" - fi - if [[ ${USE_SSL} -eq 1 ]]; then - # Setuid configuration file needs to be the first one in the list - CONF_FILES="${CONF_FILES} ${JETTY_HOME}/etc/jetty-ssl.xml" - fi - - cd "${JETTY_HOME}" - - start-stop-daemon --start --background --make-pidfile \ - --pidfile /var/run/${SVCNAME}.pid \ - --startas java -- ${JETTY_OPTS} -jar ${JETTY_HOME}/start.jar ${CONF_FILES} ${JETTY_CONF} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid - eend $? -} |