* [gentoo-commits] gentoo-x86 commit in www-servers/uwsgi/files: uwsgi-1.0.2.1-no-werror.patch uwsgi.initd
@ 2012-01-27 11:10 Alexys Jacob (ultrabug)
0 siblings, 0 replies; only message in thread
From: Alexys Jacob (ultrabug) @ 2012-01-27 11:10 UTC (permalink / raw
To: gentoo-commits
ultrabug 12/01/27 11:10:27
Modified: uwsgi.initd
Added: uwsgi-1.0.2.1-no-werror.patch
Log:
version bump, add reload functionnality to init script
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Revision Changes Path
1.2 www-servers/uwsgi/files/uwsgi.initd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/files/uwsgi.initd?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/files/uwsgi.initd?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/files/uwsgi.initd?r1=1.1&r2=1.2
Index: uwsgi.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-servers/uwsgi/files/uwsgi.initd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- uwsgi.initd 31 May 2011 19:49:07 -0000 1.1
+++ uwsgi.initd 27 Jan 2012 11:10:27 -0000 1.2
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/files/uwsgi.initd,v 1.1 2011/05/31 19:49:07 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/files/uwsgi.initd,v 1.2 2012/01/27 11:10:27 ultrabug Exp $
PROGNAME=${SVCNAME#*.}
@@ -9,6 +9,8 @@
PIDPATH=/var/run/uwsgi
PIDFILE="${PIDPATH}/${PROGNAME}.pid"
+extra_started_commands="reload"
+
depend() {
need net
}
@@ -94,6 +96,12 @@
eend $?
}
+reload() {
+ ebegin "Reloading ${SVCNAME}"
+ kill -HUP `cat ${PIDFILE}` &>/dev/null
+ eend $? "Failed to reload ${SVCNAME}"
+}
+
stop() {
ebegin "Stopping uWSGI application ${PROGNAME}"
start-stop-daemon --stop --pidfile "${PIDFILE}" --signal 3
1.1 www-servers/uwsgi/files/uwsgi-1.0.2.1-no-werror.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/files/uwsgi-1.0.2.1-no-werror.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/files/uwsgi-1.0.2.1-no-werror.patch?rev=1.1&content-type=text/plain
Index: uwsgi-1.0.2.1-no-werror.patch
===================================================================
--- a/uwsgiconfig.py 2012-01-11 19:38:58.000000000 +0100
+++ b/uwsgiconfig.py 2012-01-27 11:43:47.969407343 +0100
@@ -252,7 +252,7 @@
self.gcc_list.append('proto/fastcgi')
self.include_path = []
- self.cflags = ['-O2', '-Wall', '-Werror', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split()
+ self.cflags = ['-O2', '-Wall', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] + os.environ.get("CFLAGS", "").split()
if uwsgi_os == 'Linux':
self.gcc_list.append('lib/linux_ns')
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-27 11:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 11:10 [gentoo-commits] gentoo-x86 commit in www-servers/uwsgi/files: uwsgi-1.0.2.1-no-werror.patch uwsgi.initd Alexys Jacob (ultrabug)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox