Make SIGTERM behave exactly like "ctlinnd shutdown".

--- a/innd/chan.c
+++ b/innd/chan.c
@@ -1195,7 +1195,13 @@ CHANreadloop(void)
 
         STATUSmainloophook();
         if (GotTerminate) {
-            warn("%s exiting due to signal", LogName);
+#ifdef DO_PERL
+            PLmode(Mode, OMshutdown, "exiting due to signal");
+#endif
+#ifdef DO_PYTHON
+            PYmode(Mode, OMshutdown, "exiting due to signal");
+#endif
+            notice("%s exiting due to signal", LogName);
             CleanupAndExit(0, NULL);
         }
 
