diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2007-11-23 12:45:00 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2007-11-23 12:45:00 +0000 |
commit | 7ac75433c07d9e861b837cddef75bea0340d60cb (patch) | |
tree | 34d37e34f9957db15d700fe0d980e6e6af2e699b /app-emulation | |
parent | Stable on x86 (diff) | |
download | historical-7ac75433c07d9e861b837cddef75bea0340d60cb.tar.gz historical-7ac75433c07d9e861b837cddef75bea0340d60cb.tar.bz2 historical-7ac75433c07d9e861b837cddef75bea0340d60cb.zip |
Add missing init script.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/ganeti/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/ganeti/Manifest | 26 | ||||
-rw-r--r-- | app-emulation/ganeti/files/digest-ganeti-1.2_beta2-r1 (renamed from app-emulation/ganeti/files/digest-ganeti-1.2_beta2) | 0 | ||||
-rw-r--r-- | app-emulation/ganeti/files/ganeti.initd | 56 | ||||
-rw-r--r-- | app-emulation/ganeti/ganeti-1.2_beta2-r1.ebuild (renamed from app-emulation/ganeti/ganeti-1.2_beta2.ebuild) | 2 |
5 files changed, 79 insertions, 13 deletions
diff --git a/app-emulation/ganeti/ChangeLog b/app-emulation/ganeti/ChangeLog index fea0f43bc75a..51318c5e1422 100644 --- a/app-emulation/ganeti/ChangeLog +++ b/app-emulation/ganeti/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/inspircd # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.1 2007/11/23 02:03:39 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.2 2007/11/23 12:44:59 hansmi Exp $ + +*ganeti-1.2_beta2-r1 (23 Nov 2007) + + 23 Nov 2007; Michael Hanselmann <hansmi@gentoo.org> +files/ganeti.initd, + -ganeti-1.2_beta2.ebuild, +ganeti-1.2_beta2-r1.ebuild: + Add missing init script. *ganeti-1.2_beta2 (23 Nov 2007) diff --git a/app-emulation/ganeti/Manifest b/app-emulation/ganeti/Manifest index d1c66d3c7ebf..9c8ce0fa4db7 100644 --- a/app-emulation/ganeti/Manifest +++ b/app-emulation/ganeti/Manifest @@ -1,16 +1,20 @@ +AUX ganeti.initd 1117 RMD160 763bc5795ac721d1616c435e1e087c3f5279c338 SHA1 ffeca91d3f4f26e775ea9de4c6b406e712aa317e SHA256 ae65bfb27f6cd6e261af0e130f5906185b9f9d6413c8319e989609a35d37172d +MD5 9a06364878cadee00ab9e3629428f4e5 files/ganeti.initd 1117 +RMD160 763bc5795ac721d1616c435e1e087c3f5279c338 files/ganeti.initd 1117 +SHA256 ae65bfb27f6cd6e261af0e130f5906185b9f9d6413c8319e989609a35d37172d files/ganeti.initd 1117 DIST ganeti-1.2b2.tar.gz 597033 RMD160 6c603fecba78345b20dd00d6a8838dae45c55cfd SHA1 9a0aa32de735323b9e2f7b27352213b915ad68ab SHA256 90ac8076e2fbaef20a3387790c82a634958dc7a13204cc22f901079070b011a4 -EBUILD ganeti-1.2_beta2.ebuild 1169 RMD160 51cef52d169f2a60ed07585273af2ca13866b969 SHA1 65b934e28bf6e75dbbaeca74687a83a670f68f2f SHA256 6439ed4f245062e6dc70cff4240abd6b45649ecfb99d316046668983661e2e5a -MD5 e8544b6505980cb1b667fb6f6d911f74 ganeti-1.2_beta2.ebuild 1169 -RMD160 51cef52d169f2a60ed07585273af2ca13866b969 ganeti-1.2_beta2.ebuild 1169 -SHA256 6439ed4f245062e6dc70cff4240abd6b45649ecfb99d316046668983661e2e5a ganeti-1.2_beta2.ebuild 1169 -MISC ChangeLog 374 RMD160 c16a4beee706ebb280d7d5277832aca85db61da2 SHA1 9169f44ddcaf5321b761223ffa623e1440310d24 SHA256 d4207c3c6a8ffcd4afddea0142184d1f2481a3569160bdeccc030d8e83da65d8 -MD5 8b36830c79dd6f78e9b6e7e48f5d7675 ChangeLog 374 -RMD160 c16a4beee706ebb280d7d5277832aca85db61da2 ChangeLog 374 -SHA256 d4207c3c6a8ffcd4afddea0142184d1f2481a3569160bdeccc030d8e83da65d8 ChangeLog 374 +EBUILD ganeti-1.2_beta2-r1.ebuild 1172 RMD160 f03f2fc218ddac55e88bf1e127821e5a727af780 SHA1 601ae9d1de650a21fe126d0d203836a132ea3f95 SHA256 b36b2e520b585033f8867c7093cdab645b14b0b6a4e6a5284c29a0d13318c669 +MD5 d53751be950b35cf94536aa7d0751630 ganeti-1.2_beta2-r1.ebuild 1172 +RMD160 f03f2fc218ddac55e88bf1e127821e5a727af780 ganeti-1.2_beta2-r1.ebuild 1172 +SHA256 b36b2e520b585033f8867c7093cdab645b14b0b6a4e6a5284c29a0d13318c669 ganeti-1.2_beta2-r1.ebuild 1172 +MISC ChangeLog 570 RMD160 9718d9ddc249e3d4dbb5af6ba4a02d3e319451f6 SHA1 612ff170020f92418d9aa9ec0ff84f59f14b8b8f SHA256 3c116dcb2dfc6d3eae76fdae4d3620fe8c8a1456bc559ca18f13a7752e2f2d10 +MD5 7481e059354e20f6c67184fee338e516 ChangeLog 570 +RMD160 9718d9ddc249e3d4dbb5af6ba4a02d3e319451f6 ChangeLog 570 +SHA256 3c116dcb2dfc6d3eae76fdae4d3620fe8c8a1456bc559ca18f13a7752e2f2d10 ChangeLog 570 MISC metadata.xml 240 RMD160 ada734d9e8b8d174d95fd283dabd424935240959 SHA1 86567cf95bf92d192f1a23651f779fcfa9b3990d SHA256 07bc47a81206f97947b6765f1f1a329f761634f7e4f7e95b6e780da3b4020472 MD5 201334e4c74f2c6c98426275f4eceaaf metadata.xml 240 RMD160 ada734d9e8b8d174d95fd283dabd424935240959 metadata.xml 240 SHA256 07bc47a81206f97947b6765f1f1a329f761634f7e4f7e95b6e780da3b4020472 metadata.xml 240 -MD5 ba66e4b09a1a6f1a4d0e80ff7e4c7178 files/digest-ganeti-1.2_beta2 238 -RMD160 4d96e5e68af6e6514a3729131e2d23214d66ddfc files/digest-ganeti-1.2_beta2 238 -SHA256 c46232dc18b215c298b2b450eefe516ea90a537d005e2e6aa9f9b41c0833069e files/digest-ganeti-1.2_beta2 238 +MD5 ba66e4b09a1a6f1a4d0e80ff7e4c7178 files/digest-ganeti-1.2_beta2-r1 238 +RMD160 4d96e5e68af6e6514a3729131e2d23214d66ddfc files/digest-ganeti-1.2_beta2-r1 238 +SHA256 c46232dc18b215c298b2b450eefe516ea90a537d005e2e6aa9f9b41c0833069e files/digest-ganeti-1.2_beta2-r1 238 diff --git a/app-emulation/ganeti/files/digest-ganeti-1.2_beta2 b/app-emulation/ganeti/files/digest-ganeti-1.2_beta2-r1 index a1a276b2d8c9..a1a276b2d8c9 100644 --- a/app-emulation/ganeti/files/digest-ganeti-1.2_beta2 +++ b/app-emulation/ganeti/files/digest-ganeti-1.2_beta2-r1 diff --git a/app-emulation/ganeti/files/ganeti.initd b/app-emulation/ganeti/files/ganeti.initd new file mode 100644 index 000000000000..a6c9520491bb --- /dev/null +++ b/app-emulation/ganeti/files/ganeti.initd @@ -0,0 +1,56 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/files/ganeti.initd,v 1.1 2007/11/23 12:45:00 hansmi Exp $ + +depend() { + need localmount xend drbd + after bootmisc +} + +checkconfig() { + for fname in /var/lib/ganeti/ssconf_node_pass /var/lib/ganeti/server.pem + do + if [[ ! -f "$fname" ]] + then + eerror "Config file $fname not found, will not run." + return 1 + fi + done + + return 0 +} + +start() { + checkconfig || return 1 + + ebegin "Starting ganeti-master" + /usr/sbin/ganeti-master start + ret=$? + eend ${ret} + [[ "${ret}" != 0 ]] && return 1 + + ebegin "Starting ganeti-noded" + start-stop-daemon --start --quiet --exec /usr/sbin/ganeti-noded + ret=$? + eend ${ret} + [[ "${ret}" != 0 ]] && return 1 + + return 0 +} + +stop() { + ebegin "Stopping ganeti-noded" + start-stop-daemon --stop --quiet --name ganeti-noded + ret=$? + eend ${ret} + [[ "${ret}" != 0 ]] && return 1 + + ebegin "Stopping ganeti-master" + /usr/sbin/ganeti-master start + ret=$? + eend ${ret} + [[ "${ret}" != 0 ]] && return 1 + + return 0 +} diff --git a/app-emulation/ganeti/ganeti-1.2_beta2.ebuild b/app-emulation/ganeti/ganeti-1.2_beta2-r1.ebuild index 514f14d2ae77..84ed22e56a02 100644 --- a/app-emulation/ganeti/ganeti-1.2_beta2.ebuild +++ b/app-emulation/ganeti/ganeti-1.2_beta2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-1.2_beta2.ebuild,v 1.1 2007/11/23 02:03:39 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-1.2_beta2-r1.ebuild,v 1.1 2007/11/23 12:44:59 hansmi Exp $ NEED_PYTHON=2.4 |