aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--src/syslog.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 791cf84..951dd6b 100644
--- a/NEWS
+++ b/NEWS
@@ -51,6 +51,12 @@ or the IP[:PORT] specification, e.g.
dev 172.31.255.252;
}
+* New control endpoint /alive
+
+A GET requets to /alive/PROG reflects the current state of the
+component PROG: 200 if it is running, 503 if not, and 404 if there's
+no such component.
+
Version 1.4, 2019-07-02
diff --git a/src/syslog.c b/src/syslog.c
index 38754a7..a2a6482 100644
--- a/src/syslog.c
+++ b/src/syslog.c
@@ -472,4 +472,5 @@ pies_syslog_set_dev (char const *dev)
pies_log_dev = p;
pies_syslog_close ();
log_salen = 0;
+ return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.