Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKottas committed Jun 2, 2018
2 parents 9687a2d + 09ea9f5 commit 4c0052b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ Community, feel encouraged to add more templates if you find something missing/u
{
Console.WriteLine("Service {0} continued", name);
});
serviceConfig.OnShutdown(service =>
{
Console.WriteLine("Service {0} shutdown", name);
});

serviceConfig.OnError(e =>
{
Expand All @@ -136,6 +141,8 @@ Community, feel encouraged to add more templates if you find something missing/u
7. Run the service with **action:uninstall** and it will uninstall the service.
8. Run the service with **action:start** and it will start the service.
9. Run the service with **action:stop** and it will stop the service.
9. Run the service with **action:pause** and it will pause the service.
9. Run the service with **action:continue** and it will continue the service.
10. Run the service with **username:YOUR_USERNAME**, **password:YOUR_PASSWORD** and **action:install** which installs it for the given account.
11. Run the service with **built-in-account:(NetworkService|LocalService|LocalSystem)** and **action:install** which installs it for the given built in account. Defaults to **LocalSystem**.
12. Run the service with **description:YOUR_DESCRIPTION** and it setup description for the service.
Expand Down

0 comments on commit 4c0052b

Please sign in to comment.