- Clear pidfile on SIGTERM (cf. issue#56 on googlecode)
- Bump PORTREVISION PR: ports/151339 Submitted by: Anonymous <swell.k@gmail.com> (maintainer)
This commit is contained in:
parent
7b22179620
commit
c14b231292
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262732
2 changed files with 11 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= rssdler
|
PORTNAME= rssdler
|
||||||
PORTVERSION= 0.4.2
|
PORTVERSION= 0.4.2
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
MASTER_SITES= GOOGLE_CODE
|
MASTER_SITES= GOOGLE_CODE
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
10
www/py-rssdler/files/patch-rssdler.py
Normal file
10
www/py-rssdler/files/patch-rssdler.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- ./rssdler.py.orig 2010-10-10 03:58:44.112133159 +0000
|
||||||
|
+++ ./rssdler.py 2010-10-10 03:59:10.937002223 +0000
|
||||||
|
@@ -2180,6 +2180,7 @@
|
||||||
|
elif param == "--purge-saved": _action = 'purge-saved'
|
||||||
|
elif param == "--comment-config": _action = 'comment-config'
|
||||||
|
signal.signal(signal.SIGINT, signalHandler)
|
||||||
|
+ signal.signal(signal.SIGTERM, signalHandler)
|
||||||
|
sys.excepthook = setDebug #this is NOT supposed to be called!
|
||||||
|
if _action == 'comment-config':
|
||||||
|
print(commentConfig)
|
Loading…
Reference in a new issue