- 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:
Philip M. Gollucci 2010-10-10 04:36:38 +00:00
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

View file

@ -7,7 +7,7 @@
PORTNAME= rssdler
PORTVERSION= 0.4.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View 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)