Last minute documentation and testing changes befoire 4.6

This commit is contained in:
Olof hagsand 2020-08-13 14:58:42 +02:00
parent 8f9aa9bc80
commit 3d33335f4b
10 changed files with 23 additions and 31 deletions

View file

@ -279,7 +279,9 @@ startup_extraxml(clicon_handle h,
failsafe ----------------------+
reset \ commit
running |-------+---------------> RUNNING FAILSAFE
running ----|-------+---------------> RUNNING FAILSAFE
\
tmp |---------------------->
*/
int
startup_failsafe(clicon_handle h)

View file

@ -109,7 +109,7 @@ Set the Clixon configuration options:
```
In this example, the stream EXAMPLE would be accessed with `https://example.com/streams/EXAMPLE`.
The retention is configured as 1 hour, i.e., the stream replay function will only save timeseries one other.
The retention is configured as 1 hour, i.e., the stream replay function will only save timeseries one hour.
Clixon defines an internal in-memory (not persistent) replay function
controlled by the configure option above.

View file

@ -792,6 +792,7 @@ main(int argc,
clicon_err(OE_UNIX, errno, "evhtp_bind_socket");
goto done;
}
/* Drop privileges to WWWUSER if started as root */
if (restconf_drop_privileges(h, WWWUSER) < 0)
goto done;

View file

@ -443,10 +443,9 @@ main(int argc,
clicon_err(OE_UNIX, errno, "chmod");
goto done;
}
#if 1
/* Drop privileges to WWWUSER if started as root */
if (restconf_drop_privileges(h, WWWUSER) < 0)
goto done;
#endif
if (FCGX_InitRequest(req, sock, 0) != 0){
clicon_err(OE_CFG, errno, "FCGX_InitRequest");
goto done;