mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2025-03-26 05:48:34 +00:00
Fixes to solve problems with issue #49
Hello. These are some fixes to solve the problems in issue #49
This commit is contained in:
parent
db06cd73bd
commit
20e75c9228
@ -371,8 +371,8 @@ def main(default_config_file, is_gateway):
|
||||
openmtc_server.api.events = Api.events
|
||||
|
||||
shutdown_event = GEventEvent()
|
||||
gevent.signal(signal.SIGTERM, shutdown_event.set)
|
||||
gevent.signal(signal.SIGINT, shutdown_event.set)
|
||||
signal.signal(signal.SIGTERM, shutdown_event.set)
|
||||
signal.signal(signal.SIGINT, shutdown_event.set)
|
||||
|
||||
try:
|
||||
init_component(otd, Api)
|
||||
|
Loading…
x
Reference in New Issue
Block a user