diff options
-rw-r--r-- | dev-db/neo4j-community/ChangeLog | 3 | ||||
-rw-r--r-- | dev-db/neo4j-community/Manifest | 7 | ||||
-rw-r--r-- | dev-db/neo4j-community/files/neo4j.init | 20 | ||||
-rw-r--r-- | dev-db/neo4j-community/neo4j-community-1.7.ebuild | 2 |
4 files changed, 29 insertions, 3 deletions
diff --git a/dev-db/neo4j-community/ChangeLog b/dev-db/neo4j-community/ChangeLog index ea01ad4..d7be143 100644 --- a/dev-db/neo4j-community/ChangeLog +++ b/dev-db/neo4j-community/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header:$ + 23 Apr 2012; Leonardo Martins <leonardo@venidera.com> +files/neo4j.init + Added init script. + *neo4j-community-1.7 (23 Apr 2012) 23 Apr 2012; Leonardo Martins <leonardo@venidera.com> diff --git a/dev-db/neo4j-community/Manifest b/dev-db/neo4j-community/Manifest index 7f2e3d6..9598f9c 100644 --- a/dev-db/neo4j-community/Manifest +++ b/dev-db/neo4j-community/Manifest @@ -1,4 +1,5 @@ -AUX neo4j.init 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +AUX neo4j.init 374 RMD160 7f90aee650513fd52105aa44fc0cfe01f7c9f421 SHA1 b026130e2e4255de0a7fac251f747e4abc5a92e2 SHA256 be65fe8c0c2b3b658cf4508a331f39064bc4b601f947ceea2ef0ab9bcae7cb22 DIST neo4j-community-1.7-unix.tar.gz 36220025 RMD160 0cbd5da70b19e4ca4fb4e0dfa4d82ba72e51eeed SHA1 f18a7539bd5ad1df2b91b4f17ecce36f1902ab59 SHA256 b9f626878624d9a7b9408c6213dec6d82c13c62e86a037b489dc335e31c4d993 -EBUILD neo4j-community-1.7.ebuild 873 RMD160 e75fb020d475d8625504ad9518e172123abea993 SHA1 6effdf8c94bbda29008c65a821f04c346f04a2ee SHA256 de8b3c6b3bb64fb65955ae927fc16a15041b33573b0e2d47200f2cf358f976db -MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +EBUILD neo4j-community-1.7.ebuild 915 RMD160 bdd7d5c4cf8328b0ae8e79299f69f93c143d3869 SHA1 e5de5c619715739f2bc169f7c796bfcf22a89f72 SHA256 1e1aa3fc1509a98c6bc4a2dd7eb01d81bb10357e671b95fca96e60854aef99cb +MISC ChangeLog 279 RMD160 ab753fda555a51582307e8acb331ac108d9eaa8e SHA1 5d665040096e5356beb5cda286aedb5049b382b8 SHA256 c43f53cc82cdc5de1e438a7739e8fa7bdfd46aa586d8fc8807b2c99a2e556a79 +MISC metadata.xml 239 RMD160 75199ea6eda41a4c46b6b1352021faf877906253 SHA1 5115cf852e6a0a94e6cab28f083e29aa32c5faeb SHA256 53b3b5d7d9fbe0d7ee6318732e06ddec681a624cbc9c5a3d739a3ac270abe05a diff --git a/dev-db/neo4j-community/files/neo4j.init b/dev-db/neo4j-community/files/neo4j.init new file mode 100644 index 0000000..ee577f0 --- /dev/null +++ b/dev-db/neo4j-community/files/neo4j.init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + need net +} + +start() { + ebegin "Starting neo4j" + start-stop-daemon --start --quiet --exec /opt/bin/neo4j -- start >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping neo4j" + /opt/bin/neo4j stop >/dev/null 2>&1 + eend $? +} diff --git a/dev-db/neo4j-community/neo4j-community-1.7.ebuild b/dev-db/neo4j-community/neo4j-community-1.7.ebuild index bc03c42..82cfd86 100644 --- a/dev-db/neo4j-community/neo4j-community-1.7.ebuild +++ b/dev-db/neo4j-community/neo4j-community-1.7.ebuild @@ -39,6 +39,8 @@ src_install() { fperms 0700 /opt/neo4j/bin/neo4j-shell fperms 0700 /opt/neo4j/bin/utils + newinitd "${FILESDIR}"/neo4j.init neo4j + # create symlinks dosym /opt/neo4j/bin/neo4j /opt/bin/neo4j dosym /opt/neo4j/bin/neo4j-shell /opt/bin/neo4j-shell |