mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Don't try to register SIGHUP on Windows.
This commit is contained in:
parent
8baa35a250
commit
7aac173140
@ -89,6 +89,7 @@ def _hupHandler(sig, frame):
|
|||||||
log.info('Received SIGHUP, reloading configuration.')
|
log.info('Received SIGHUP, reloading configuration.')
|
||||||
_reload()
|
_reload()
|
||||||
|
|
||||||
|
if os.name == 'posix':
|
||||||
signal.signal(signal.SIGHUP, _hupHandler)
|
signal.signal(signal.SIGHUP, _hupHandler)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user