Forgot to install signal for listener.
authorScott Cantor <cantor.2@osu.edu>
Thu, 21 May 2009 21:06:11 +0000 (21:06 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 21 May 2009 21:06:11 +0000 (21:06 +0000)
shibd/shibd.cpp

index c5f5ba6..49cbd79 100644 (file)
@@ -341,6 +341,10 @@ int main(int argc, char *argv[])
         freopen("/dev/null", "w", stderr);\r
 \r
         // Run the listener\r
+        if (!conf.getServiceProvider()->getListenerService()->setSignal(SIGUSR1)) {\r
+            fprintf(stderr, "listener failed to accept signaling hook\n");\r
+            return -3;\r
+        }\r
         if (!conf.getServiceProvider()->getListenerService()->run(unlink_socket, &shibd_shutdown)) {\r
             fprintf(stderr, "listener failed to enter listen loop\n");\r
             return -3;\r