When no users are loaded from backends, instead of counting it as a failure the service is started and the next time a client connects an attempt to load the users from the backends is made.
This commit is contained in:
Markus Makela
2015-01-05 17:38:45 +02:00
parent 9717190b4a
commit cd99849581
4 changed files with 15 additions and 89 deletions

View File

@ -130,7 +130,6 @@ typedef struct server {
(SERVER_RUNNING|SERVER_MASTER|SERVER_SLAVE|SERVER_MAINT)) == \
(SERVER_RUNNING|SERVER_MASTER))
#define SRV_DOWN_STATUS(status) ((status & SERVER_RUNNING) == 0)
/**
* Is the server valid candidate for root master. The server must be running,
* marked as master and not have maintenance bit set.