src/server/daemon/srvctrl.c

branch
srvctrl
changeset 178
4760f7f1b197
parent 177
f144b60c71b1
child 254
4784c14aa639
--- a/src/server/daemon/srvctrl.c	Mon Mar 06 17:19:25 2017 +0100
+++ b/src/server/daemon/srvctrl.c	Mon Mar 06 17:30:52 2017 +0100
@@ -187,6 +187,10 @@
         }
     } else if(!sstrcmp(cmd, S("shutdown"))) {
         webserver_shutdown();
+    } else if(!sstrcmp(cmd, S("stat"))) {
+        // TODO: implement
+    } else if(!sstrcmp(cmd, S("log"))) {
+        return 0;
     } else {
         log_ereport(
                 LOG_FAILURE,

mercurial