diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-03-17 16:34:04 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-03-17 16:34:04 +0000 |
commit | d107c227877508ff28fda5c1ea4945c75d0818dd (patch) | |
tree | 58b8ca11d7d7efa30b44994c8f14de11506f6d98 /www-servers | |
parent | Add init.d/conf.d scripts for 3.1.5. (diff) | |
download | gentoo-2-d107c227877508ff28fda5c1ea4945c75d0818dd.tar.gz gentoo-2-d107c227877508ff28fda5c1ea4945c75d0818dd.tar.bz2 gentoo-2-d107c227877508ff28fda5c1ea4945c75d0818dd.zip |
Add init.d/conf.d scripts for 3.1.5.
(Portage version: 2.1.4.4)
(Signed Manifest commit)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/resin/Manifest | 10 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.5/resin.conf | 12 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.5/resin.init | 43 |
3 files changed, 61 insertions, 4 deletions
diff --git a/www-servers/resin/Manifest b/www-servers/resin/Manifest index 7fcdeb83ec47..b1b7f12486c5 100644 --- a/www-servers/resin/Manifest +++ b/www-servers/resin/Manifest @@ -9,6 +9,8 @@ AUX 3.1.3/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c3 AUX 3.1.3/resin.init 826 RMD160 73418f1944066173d54ed9225753a8054ee40c2c SHA1 e55332ca2bcc66d5b9d03b18f5626e499cd333a7 SHA256 58fd4e736ce3a96d20b86ec1f912d99b8c3fb05f8dcad1e144fc84259b6965ab AUX 3.1.4/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c332de715146a0cb2836f0e7a6152e83eb1838bc SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c AUX 3.1.4/resin.init 826 RMD160 afb6542e7d6746e8f72b6bdd363f818109cec1de SHA1 e283f2b34e9c0fb172a39bfd7852905dcc18c5d0 SHA256 8fb90c29decdb7c83db82cd3368191482c2f4385eb752efa7d54580092c2df5b +AUX 3.1.5/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c332de715146a0cb2836f0e7a6152e83eb1838bc SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c +AUX 3.1.5/resin.init 826 RMD160 afb6542e7d6746e8f72b6bdd363f818109cec1de SHA1 e283f2b34e9c0fb172a39bfd7852905dcc18c5d0 SHA256 8fb90c29decdb7c83db82cd3368191482c2f4385eb752efa7d54580092c2df5b 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 DIST resin-3.1.3-src.zip 12366224 RMD160 573db137aca6da906f519333b27e67611d2b8a7a SHA1 3ceecbb8f480ad373ca1cf8dcec7401e1cedc577 SHA256 45825f9df5914f6f53633f5e6ce4905a4f9d788ba2b57eedba2a4bff9df78493 @@ -24,12 +26,12 @@ EBUILD resin-3.0.25.ebuild 4018 RMD160 eae80492fe12c0cbe1117c881bec5dd7bed862d0 EBUILD resin-3.1.3.ebuild 3809 RMD160 545c42423b07b2fc9b696beaf0e63183fa3209be SHA1 1ba9a915f63b8687f390564517bef14591bc431a SHA256 e97bc400c748db6ef54ccdeb5105829eea3a03a2a3e5b066e3ec28bb73a8f62d EBUILD resin-3.1.4.ebuild 3812 RMD160 dfd3633958e6df72b66254fb9c00ac8bf78d56be SHA1 30adc9564118bf79d4307608a8f524091a02f25d SHA256 2346c66b40e4a1f1cef4f002a66c20ee444db67f2e32dd8ff75839bdbdd69530 EBUILD resin-3.1.5.ebuild 4027 RMD160 529153e8cde9d123e5af0d6dfff5d68c2c671aa1 SHA1 dd90adb031a9cec101288ed025f7a2eb6db65b00 SHA256 5c6cdc11a5f562364f215377637449817ba25b0c578addaf7cd50ef6b022079d -MISC ChangeLog 13397 RMD160 d1b31609faa280fd07561bb2a0757f05c3508de9 SHA1 858b3a884bf8f3af8f53a9523bfd5ea1bc4c9668 SHA256 70604c4eb5085250afa4912cea961b61a336d236a2fe2683abf90d63c163b36e +MISC ChangeLog 13542 RMD160 1d0c1dcd0980dd2920eb82fa744099d5b56747f6 SHA1 537a163552a1d8fde772f38342145253e994dfa1 SHA256 162f64e69b5290243cce51f58de9e3e869f67e90e803a132d11c788b7dd4e39e MISC metadata.xml 229 RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 SHA1 087c10f53259e3702a47b6c43c4365fd16d8c201 SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHxd7ygo/w9rxVVVERAkoEAJ9MFr7Y+y6a5ldGu2mZ2a63LknJTQCgmCDN -rZWfmRSrLo5DPpZfJFAIrDI= -=R6Mi +iD8DBQFH3p13go/w9rxVVVERAop8AJ9kUJ+tFIUhdJH9dwluOPG2N1se+gCgsgMA +kHZo9LNnvGSZ9j8Q6YwEJXE= +=Ty5q -----END PGP SIGNATURE----- diff --git a/www-servers/resin/files/3.1.5/resin.conf b/www-servers/resin/files/3.1.5/resin.conf new file mode 100644 index 000000000000..0895ad30fbf4 --- /dev/null +++ b/www-servers/resin/files/3.1.5/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.5/resin.init b/www-servers/resin/files/3.1.5/resin.init new file mode 100644 index 000000000000..3b6bc745fbbf --- /dev/null +++ b/www-servers/resin/files/3.1.5/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.5/resin.init,v 1.1 2008/03/17 16:34:04 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" + +} |