mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Remove pidfile on shutdown
This commit is contained in:
parent
ec9e410659
commit
a14a52fe11
1 changed files with 4 additions and 0 deletions
|
@ -159,3 +159,7 @@ finally:
|
|||
"Closing server listening to %s port %s" % (
|
||||
server.server_name, server.server_port))
|
||||
server.shutdown()
|
||||
|
||||
# remove pidfile
|
||||
if options.pid:
|
||||
os.unlink(options.pid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue