diff --git a/README.md b/README.md index 27ae6eb..a639e91 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Becouse This library offers easy interface to control your demons likewise the m * Auto create a Controller of your Service. ## Deffault sopprted commands + * install - deploys your daemon into your host system. This command deploy service for root user if you want to deploy service for specify user just use **-install ** command (root right required) * unistall - removes old deployed daemon. (root right required) * start - starts your service @@ -56,8 +57,9 @@ public: } - void onStart() override { - // call on server started + bool onStart() override { + // call on server started + return true; } void onStop() override { @@ -96,6 +98,9 @@ int main(int argc, char **argv) { ``` ### Controller +Dy default the service can works as acontroller, But some times we need to create a simple controller app for exists our service. +For example universal controller for all services of your comapny. The all services that based on Patronum library compatible with each other due to the fact that the command configuration is on the side of the service itself, and not the controller. + ```cpp #include