mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Attempted fix for daemon sigterm by accepting all args in the sigterm handler
This commit is contained in:
parent
53b2b2ed4b
commit
e2f226a6c3
2
main.py
2
main.py
@ -151,7 +151,7 @@ if __name__ == '__main__':
|
||||
project_root = os.path.dirname(__file__)
|
||||
controller.set_project_root(project_root)
|
||||
|
||||
def sigterm_handler():
|
||||
def sigterm_handler(*args):
|
||||
print() # for newline
|
||||
logger.info("Recieved SIGTERM, stopping Crafty")
|
||||
console.info("Recieved SIGTERM, stopping Crafty")
|
||||
|
Loading…
Reference in New Issue
Block a user