diff options
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/syslog.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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; } |