+static void got_hup(int z)
+{
+ /* First, reset all log files (they might have been deleted) */
+ silc_log_reset_all();
+ silc_log_flush_all();
+}
+
+static void stop_server(int z)
+{
+ SILC_LOG_DEBUG(("Start"));
+
+ /* Flush log files */
+ silc_log_flush_all();
+
+ /* Gracefully stop the server */
+ /* silc_server_stop(silcd); */
+ /* XXX do this for now since doing graceful exit now can remove
+ the scheduler underneath the server too early and crash it. */
+ exit(0);
+}
+