summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 531f605db..0adc77173 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -100,6 +100,9 @@ sig_handler (int signo, siginfo_t *info, void *unused)
#endif
{
switch (signo) {
+ case SIGUSR1:
+ reopen_log ();
+ break;
case SIGINT:
case SIGTERM:
_exit (1);