Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jun 5, 2015
1 parent 9a6fba2 commit 1fd67a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calibre/srv/standalone.py
Expand Up @@ -129,6 +129,6 @@ def main(args=sys.argv):
with lopen(opts.pidfile, 'wb') as f:
f.write(str(os.getpid()))
signal.signal(signal.SIGTERM, lambda s,f: server.stop())
if not opts.daemonize:
if not opts.daemonize and not iswindows:
signal.signal(signal.SIGHUP, lambda s,f: server.stop())
server.serve_forever()

0 comments on commit 1fd67a3

Please sign in to comment.