diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-12-14 09:51:51 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2007-12-14 09:51:51 +0000 |
commit | 2392eabb405e87ad3508f3d4f818cbb616efdebf (patch) | |
tree | 5f79d471da2abeb4aa3c447ce810b2edcabda826 /www-servers | |
parent | Add missing init.d/conf.d files. (diff) | |
download | gentoo-2-2392eabb405e87ad3508f3d4f818cbb616efdebf.tar.gz gentoo-2-2392eabb405e87ad3508f3d4f818cbb616efdebf.tar.bz2 gentoo-2-2392eabb405e87ad3508f3d4f818cbb616efdebf.zip |
Add missing init.d/conf.d files.
(Portage version: 2.1.4_rc10)
(Signed Manifest commit)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/resin/Manifest | 30 | ||||
-rw-r--r-- | www-servers/resin/files/3.0.25/resin.conf | 27 | ||||
-rw-r--r-- | www-servers/resin/files/3.0.25/resin.init | 27 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.4/resin.conf | 12 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.4/resin.init | 43 |
5 files changed, 132 insertions, 7 deletions
diff --git a/www-servers/resin/Manifest b/www-servers/resin/Manifest index d0b9d8c0e339..42f87f53cbd4 100644 --- a/www-servers/resin/Manifest +++ b/www-servers/resin/Manifest @@ -25,6 +25,14 @@ AUX 3.0.24/resin.init 951 RMD160 7afa05f0924db80e550e8a36e94b5f51c2499649 SHA1 f MD5 e37247b586a6eba0524b2c788328cf70 files/3.0.24/resin.init 951 RMD160 7afa05f0924db80e550e8a36e94b5f51c2499649 files/3.0.24/resin.init 951 SHA256 1341f1036e0772dff7aa8a2caf00c6fef4dd6b75e29ace0f15969d7bcfa9c27d files/3.0.24/resin.init 951 +AUX 3.0.25/resin.conf 792 RMD160 91b29442c28c6730b9e80df8cc6a32b429289014 SHA1 53668e6b6760c628eb1876d8428dfefb5740a21c SHA256 f079ad48fd8bc43cbb06db2fcf86a2806f815cd425182fc0eaf6bccdae2eb526 +MD5 bab22828703014c7ff6d7bb46afd87d9 files/3.0.25/resin.conf 792 +RMD160 91b29442c28c6730b9e80df8cc6a32b429289014 files/3.0.25/resin.conf 792 +SHA256 f079ad48fd8bc43cbb06db2fcf86a2806f815cd425182fc0eaf6bccdae2eb526 files/3.0.25/resin.conf 792 +AUX 3.0.25/resin.init 951 RMD160 7afa05f0924db80e550e8a36e94b5f51c2499649 SHA1 f92ef3ce279ab7c7d97aecd5b37609636beaecdd SHA256 1341f1036e0772dff7aa8a2caf00c6fef4dd6b75e29ace0f15969d7bcfa9c27d +MD5 e37247b586a6eba0524b2c788328cf70 files/3.0.25/resin.init 951 +RMD160 7afa05f0924db80e550e8a36e94b5f51c2499649 files/3.0.25/resin.init 951 +SHA256 1341f1036e0772dff7aa8a2caf00c6fef4dd6b75e29ace0f15969d7bcfa9c27d files/3.0.25/resin.init 951 AUX 3.1.3/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c332de715146a0cb2836f0e7a6152e83eb1838bc SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c MD5 4ccfaa3a9f3c4f386c77659a6ef91f71 files/3.1.3/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c files/3.1.3/resin.conf 425 @@ -33,6 +41,14 @@ AUX 3.1.3/resin.init 826 RMD160 73418f1944066173d54ed9225753a8054ee40c2c SHA1 e5 MD5 ae0013e1985a7bac237fcd1a2c34a130 files/3.1.3/resin.init 826 RMD160 73418f1944066173d54ed9225753a8054ee40c2c files/3.1.3/resin.init 826 SHA256 58fd4e736ce3a96d20b86ec1f912d99b8c3fb05f8dcad1e144fc84259b6965ab files/3.1.3/resin.init 826 +AUX 3.1.4/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c332de715146a0cb2836f0e7a6152e83eb1838bc SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c +MD5 4ccfaa3a9f3c4f386c77659a6ef91f71 files/3.1.4/resin.conf 425 +RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c files/3.1.4/resin.conf 425 +SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c files/3.1.4/resin.conf 425 +AUX 3.1.4/resin.init 826 RMD160 73418f1944066173d54ed9225753a8054ee40c2c SHA1 e55332ca2bcc66d5b9d03b18f5626e499cd333a7 SHA256 58fd4e736ce3a96d20b86ec1f912d99b8c3fb05f8dcad1e144fc84259b6965ab +MD5 ae0013e1985a7bac237fcd1a2c34a130 files/3.1.4/resin.init 826 +RMD160 73418f1944066173d54ed9225753a8054ee40c2c files/3.1.4/resin.init 826 +SHA256 58fd4e736ce3a96d20b86ec1f912d99b8c3fb05f8dcad1e144fc84259b6965ab files/3.1.4/resin.init 826 DIST resin-2.1.17.tar.gz 3239401 RMD160 5fcf2e7680bfad1531cf75d384dcd8f15c19f639 SHA1 2d45e885874122931e63d7c59baed50a75f60618 SHA256 70c681d45f34b1992fbdfb2024970c52a6be20b8cd23855903630e1476a89b92 DIST resin-3.0.24-src.zip 10688883 RMD160 84aeee1482ac41d4e596c6800c7ab72c3a448d54 SHA1 76e40d628b662d1b64a8ae4772b7140b0eeaed54 SHA256 d7862e12245f5620dd198bdf10e3c5486fe6bd6262bdf0be3a7bb29280e70a1c DIST resin-3.0.25-src.zip 10690692 RMD160 f613bf9f35a2fb99f16a2253aed715104575d3ca SHA1 48e1cdbb7e1e1501d6c1a920361558c70930463a SHA256 ed1e8ce03ea2c5454980bb5353f625d12bdd0713653dd845ac6b00cb239c1cdc @@ -62,10 +78,10 @@ EBUILD resin-3.1.4.ebuild 3809 RMD160 1cb25545eeb93f360399fcdc54f9e4053e45e5e4 S MD5 35173cc7e4ed65f9946e3ca47b56794e resin-3.1.4.ebuild 3809 RMD160 1cb25545eeb93f360399fcdc54f9e4053e45e5e4 resin-3.1.4.ebuild 3809 SHA256 565c49458f076945d66ebb1adb03a4f0419c8b438779ebf100c2d8cca414f95e resin-3.1.4.ebuild 3809 -MISC ChangeLog 12665 RMD160 6d4d46d4b06696201edeede1b05d6e44d28d69e9 SHA1 44f4d380fa0233e1a26691d3aab16224542f5f0e SHA256 72037fcd27b01bacc76bd0dd9d0fe4c1fec724bf7159be23a368245c2f27b57b -MD5 b53ca7f69b1e0cde3245ecc40283ca0f ChangeLog 12665 -RMD160 6d4d46d4b06696201edeede1b05d6e44d28d69e9 ChangeLog 12665 -SHA256 72037fcd27b01bacc76bd0dd9d0fe4c1fec724bf7159be23a368245c2f27b57b ChangeLog 12665 +MISC ChangeLog 12860 RMD160 54e6271f236a73c45547b1912b3bc56b07d34506 SHA1 3dbcb75a8d0f84b5f7b4afbba2a1f2356a81d803 SHA256 d0a0aadc8055a0a8471fe6fb09d6c36b9040e859a46e92faa1acdd2e2bfe644e +MD5 fb10fe9ef3879779139f114d1945d2ca ChangeLog 12860 +RMD160 54e6271f236a73c45547b1912b3bc56b07d34506 ChangeLog 12860 +SHA256 d0a0aadc8055a0a8471fe6fb09d6c36b9040e859a46e92faa1acdd2e2bfe644e ChangeLog 12860 MISC metadata.xml 229 RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 SHA1 087c10f53259e3702a47b6c43c4365fd16d8c201 SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 MD5 2696a2548331ef205bf10abad6802180 metadata.xml 229 RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 metadata.xml 229 @@ -88,7 +104,7 @@ SHA256 ecbb344cc7d98658202b368a1ad72ba15c4e9a2d41c4651819cee6b5f4193869 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHYlAigo/w9rxVVVERAkvEAJ9BN55+t85X/gTtMHkbO4AZDupcnQCfb9lu -60+TdZwxApJRpfRehgM2Fds= -=6x9A +iD8DBQFHYlIxgo/w9rxVVVERApR6AKCTkMHLSZXU31bi3erUujQI209NpACfT7LU +osYhGPgPf4cQFYG062dBHBk= +=MF2W -----END PGP SIGNATURE----- diff --git a/www-servers/resin/files/3.0.25/resin.conf b/www-servers/resin/files/3.0.25/resin.conf new file mode 100644 index 000000000000..eea8ef6cda50 --- /dev/null +++ b/www-servers/resin/files/3.0.25/resin.conf @@ -0,0 +1,27 @@ +# JVM Runtime +# Using the default setting, it will determine your JVM from the system-vm +# set using java-config. +# See java-config(1) manual page for assistance in determining this value. + +# You can override this value with whatever JDK 1.5 you want. +# For a list of valid values for GENTOO_VM see output of +# java-config -L +#GENTOO_VM=sun-jdk-1.5 + +# (Optional) Java runtime options. +# WARNING! Prepend each option with -J, so -Xmx512m should be -J-Xmx512m +# JAVA_OPTS="" + +# Where your Resin is installed +RESIN_HOME=__RESIN_HOME__ + +# Resin Log Locations +RESIN_OUT=/var/log/resin/resin_out.log +RESIN_ERR=/var/log/resin/resin_err.log + +# The CLASSPATH for Resin to use, plus any others you need. +CLASSPATH=$(java-config -dp resin) + +# START/STOP settings +RESIN_START="start" +RESIN_STOP="stop" diff --git a/www-servers/resin/files/3.0.25/resin.init b/www-servers/resin/files/3.0.25/resin.init new file mode 100644 index 000000000000..a3519b7648db --- /dev/null +++ b/www-servers/resin/files/3.0.25/resin.init @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.0.25/resin.init,v 1.1 2007/12/14 09:51:51 nelchael Exp $ + +depend() { + need net + use dns logger mysql postgresql +} + +start() { + JAVA_HOME=$(java-config -O) + [ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) + export JAVA_HOME + ebegin "Starting Resin" + su - resin -c "${RESIN_HOME}/bin/httpd.sh ${JAVA_OPTS} -pid-dir /var/run/resin/ -java_home ${JAVA_HOME} -resin_home ${RESIN_HOME} -cp ${CLASSPATH} -stdout ${RESIN_OUT} -stderr ${RESIN_ERR} ${RESIN_START}" + eend $? +} + +stop() { + JAVA_HOME=$(java-config -O) + [ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) + export JAVA_HOME + ebegin "Stopping Resin" + su - resin -c "${RESIN_HOME}/bin/httpd.sh ${JAVA_OPTS} -pid-dir /var/run/resin/ ${RESIN_STOP}" + eend $? +} diff --git a/www-servers/resin/files/3.1.4/resin.conf b/www-servers/resin/files/3.1.4/resin.conf new file mode 100644 index 000000000000..0895ad30fbf4 --- /dev/null +++ b/www-servers/resin/files/3.1.4/resin.conf @@ -0,0 +1,12 @@ +# JVM Runtime +# Using the default setting, it will determine your JVM from the system-vm +# set using java-config. +# See java-config(1) manual page for assistance in determining this value. + +# You can override this value with whatever JDK 1.5 you want. +# For a list of valid values for GENTOO_VM see output of +# java-config -L +#GENTOO_VM=sun-jdk-1.5 + +# Verbose starting and stopping? (yes/no, defaults to no) +#VERBOSE="yes" diff --git a/www-servers/resin/files/3.1.4/resin.init b/www-servers/resin/files/3.1.4/resin.init new file mode 100644 index 000000000000..7fd77c98e75c --- /dev/null +++ b/www-servers/resin/files/3.1.4/resin.init @@ -0,0 +1,43 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.1.4/resin.init,v 1.1 2007/12/14 09:51:51 nelchael Exp $ + +depend() { + need net + use dns logger mysql postgresql +} + +runResin() { + + JAVA_HOME=$(java-config -O) + [ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) + export JAVA_HOME + + local extraArgs= + if [ "${VERBOSE}" = "yes" ]; then + extraArgs="-verbose" + fi + + local msg="${1}" + shift + + local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar ${extraArgs} -resin-home /usr/lib/resin ${@}" + + ebegin "${msg}" + su - resin -c "${cmdline}" + eend $? + +} + +start() { + + runResin "Starting Resin" "start" + +} + +stop() { + + runResin "Stopping Resin" "stop" + +} |