MXS-1929: Allow startup with no services

MaxScale can now be started with an empty configuration file and services
can be created at runtime. Filters cannot yet be created at runtime so
complete runtime creation of configurations is not yet possible.
This commit is contained in:
Markus Mäkelä
2018-07-23 13:48:19 +03:00
parent 106b1d46d5
commit a50fce0c65
3 changed files with 4 additions and 3 deletions

View File

@ -650,7 +650,8 @@ int service_launch_all()
ptr = ptr->next;
}
return error ? 0 : n;
return error ? -1 : n;
}
bool serviceStop(SERVICE *service)