public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems/files: init.d-gem_server2
@ 2008-06-29 21:06 Hans de Graaff (graaff)
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff (graaff) @ 2008-06-29 21:06 UTC (permalink / raw
  To: gentoo-commits

graaff      08/06/29 21:06:54

  Added:                init.d-gem_server2
  Log:
  Fix problem with init.d file as reported in #229875
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  dev-ruby/rubygems/files/init.d-gem_server2

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rubygems/files/init.d-gem_server2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rubygems/files/init.d-gem_server2?rev=1.1&content-type=text/plain

Index: init.d-gem_server2
===================================================================
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

PID=/var/run/gem_server.pid

depend() {
	need localmount net
}

start() {
	ebegin "Starting gem_server"
	start-stop-daemon --start --chuid nobody --quiet --background --make-pidfile \
		 --pidfile ${PID} --exec /usr/bin/ruby -- /usr/bin/gem server ${GEM_SERVER_OPTS}
	eend ${?}
}

stop() {
	ebegin "Stopping gem_server"
	start-stop-daemon --stop --pidfile ${PID}
	eend ${?}
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-29 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-29 21:06 [gentoo-commits] gentoo-x86 commit in dev-ruby/rubygems/files: init.d-gem_server2 Hans de Graaff (graaff)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox