diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/god/Manifest | 3 | ||||
-rwxr-xr-x | dev-ruby/god/files/god.initd | 16 | ||||
-rw-r--r-- | dev-ruby/god/god-0.11.0.ebuild | 5 |
3 files changed, 23 insertions, 1 deletions
diff --git a/dev-ruby/god/Manifest b/dev-ruby/god/Manifest index 64c3d93..79e27cb 100644 --- a/dev-ruby/god/Manifest +++ b/dev-ruby/god/Manifest @@ -1,2 +1,3 @@ +AUX god.initd 409 RMD160 f36466ed378949fa1d98bcf37b13784590b9cf2d SHA1 91edfe6067096e2cd9385c00719de05997745c20 SHA256 243319cfd2acf2c5986f2bab733f800c7e64432eb765d6167c0f64e19ca02372 DIST god-0.11.0.gem 69632 RMD160 d3b93a5a269707eb8ff4130727de257e28581d8f SHA1 7a0e7fc247c62790ca48d3b42504c3acbb1049ca SHA256 7a0b8c91e2479589883c7f91960b98535c2ab8bc3d33cd4a16145b31fed03e80 -EBUILD god-0.11.0.ebuild 375 RMD160 9390dd1f425c17aa0b1ff6483527ae26ac3d0c2b SHA1 6c1fcb9044f5392c41a4f351d61c2e2df567dbce SHA256 ee2b833d53dbd70384a324fe95f6ab77cece7e634994c37326461eeb05684440 +EBUILD god-0.11.0.ebuild 458 RMD160 268bdc0419b271ad9b68210b317ce64e25560ffc SHA1 3d85bd2ad9491ef5f9ccaeeefc4e0c84ed47b9de SHA256 d4325a15307e486aaf857815a8fafe8bb423b4618069e82ba833a5315f51a7de diff --git a/dev-ruby/god/files/god.initd b/dev-ruby/god/files/god.initd new file mode 100755 index 0000000..4a61c83 --- /dev/null +++ b/dev-ruby/god/files/god.initd @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +start() { + ebegin "Starting God Process Monitor" + start-stop-daemon --start --pidfile /var/run/god.pid --exec /usr/bin/god -- -P /var/run/god.pid + eend $? +} + +stop() { + ebegin "Stopping God Process Monitor" + start-stop-daemon --stop --pidfile /var/run/god.pid + eend $? +} diff --git a/dev-ruby/god/god-0.11.0.ebuild b/dev-ruby/god/god-0.11.0.ebuild index 10f8759..8e97723 100644 --- a/dev-ruby/god/god-0.11.0.ebuild +++ b/dev-ruby/god/god-0.11.0.ebuild @@ -18,3 +18,8 @@ IUSE="" DEPEND="" RDEPEND="" + +src_install() { + ruby-fakegem_src_install + newinitd "${FILESDIR}"/god.initd god +} |