Reload SSL certificates on signal SIGHUP
authorShane Synan <digitalcircuit36939@gmail.com>
Mon, 5 Sep 2016 19:19:03 +0000 (14:19 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 28 Feb 2018 22:19:58 +0000 (23:19 +0100)
Catch SIGHUP, use it to reload configuration (SSL certs), similar to
nginx and other server programs.  This allows easy automation of
reloading certificates, an important factor with services such as
Let's Encrypt.

If reloading certificates fails, the old certificates are kept to
avoid disrupting new connections until the situation is sorted out.

Resolves GH-208.

(cherry picked from commit 25a3ae50ac0d9835283e4f5f10fcfcc10ed5575d)


No differences found