public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-servers/cherokee/files: cherokee-initd-1.2.0
@ 2011-02-22 21:43 Jose Alberto Suarez Lopez (bass)
  0 siblings, 0 replies; 2+ messages in thread
From: Jose Alberto Suarez Lopez (bass) @ 2011-02-22 21:43 UTC (permalink / raw
  To: gentoo-commits

bass        11/02/22 21:43:58

  Added:                cherokee-initd-1.2.0
  Log:
  new init script. thx #333925
  
  (Portage version: 2.1.9.25/cvs/Linux i686)

Revision  Changes    Path
1.1                  www-servers/cherokee/files/cherokee-initd-1.2.0

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/cherokee/files/cherokee-initd-1.2.0?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/cherokee/files/cherokee-initd-1.2.0?rev=1.1&content-type=text/plain

Index: cherokee-initd-1.2.0
===================================================================
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

opts="gracefull reload"

depend() {
	need net
}

start() {
	ebegin "Starting Cherokee Web Server"
	start-stop-daemon --start -b \
		--exec /usr/sbin/cherokee
	eend $?
}

stop() {
	ebegin "Stopping Cherokee Web Server"
	start-stop-daemon --stop \
		--exec /usr/sbin/cherokee
	eend $?
}

gracefull() {
	ebegin "Gracefully restarting Cherokee Web Server"
	start-stop-daemon \
		--exec /usr/sbin/cherokee \
		--signal HUP
	eend $?
}

reload() {
	ebegin "Restarting Cherokee Web Server and closing all open connections"
	start-stop-daemon \
		--exec /usr/sbin/cherokee \
		--signal USR1
	eend $?
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in www-servers/cherokee/files: cherokee-initd-1.2.0
@ 2011-03-02 12:29 Jose Alberto Suarez Lopez (bass)
  0 siblings, 0 replies; 2+ messages in thread
From: Jose Alberto Suarez Lopez (bass) @ 2011-03-02 12:29 UTC (permalink / raw
  To: gentoo-commits

bass        11/03/02 12:29:34

  Modified:             cherokee-initd-1.2.0
  Log:
  bump version
  
  (Portage version: 2.1.9.25/cvs/Linux i686)

Revision  Changes    Path
1.2                  www-servers/cherokee/files/cherokee-initd-1.2.0

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/cherokee/files/cherokee-initd-1.2.0?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/cherokee/files/cherokee-initd-1.2.0?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/cherokee/files/cherokee-initd-1.2.0?r1=1.1&r2=1.2

Index: cherokee-initd-1.2.0
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-initd-1.2.0,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cherokee-initd-1.2.0	22 Feb 2011 21:43:58 -0000	1.1
+++ cherokee-initd-1.2.0	2 Mar 2011 12:29:33 -0000	1.2
@@ -2,7 +2,7 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-opts="gracefull reload"
+opts="graceful reload"
 
 depend() {
 	need net
@@ -22,7 +22,7 @@
 	eend $?
 }
 
-gracefull() {
+graceful() {
 	ebegin "Gracefully restarting Cherokee Web Server"
 	start-stop-daemon \
 		--exec /usr/sbin/cherokee \






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-02 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02 12:29 [gentoo-commits] gentoo-x86 commit in www-servers/cherokee/files: cherokee-initd-1.2.0 Jose Alberto Suarez Lopez (bass)
  -- strict thread matches above, loose matches on Subject: below --
2011-02-22 21:43 Jose Alberto Suarez Lopez (bass)

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