mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Cosmetic changes
This commit is contained in:
parent
cc22927353
commit
3b99d64935
2 changed files with 4 additions and 4 deletions
|
@ -142,7 +142,7 @@ def run():
|
|||
|
||||
# SIGTERM and SIGINT (aka KeyboardInterrupt) shutdown the server
|
||||
def shutdown(signal_number, stack_frame):
|
||||
shutdown_socket.sendall(b" ")
|
||||
shutdown_socket.close()
|
||||
signal.signal(signal.SIGTERM, shutdown)
|
||||
signal.signal(signal.SIGINT, shutdown)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue