From a7e5b15bb03a71aa1e739034ae569b6498b6ec9b Mon Sep 17 00:00:00 2001
From: "L. Ellenbeck" <ellenbeck@itc.rwth-aachen.de>
Date: Tue, 5 Mar 2019 14:36:50 +0100
Subject: [PATCH] Update README.md

---
 README.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/README.md b/README.md
index ced03b9..937383e 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,25 @@
 # util-ServiceWrapper
 
+Simple wrapper to start an arbitray executable as a windows service.
+
+## Getting started
+
+Build the project with msbuild/Visual Studio 2017.
+
+Use the sc command to add your service like so:
+```
+sc.exe create "YourServiceName" binPath="Path\to\ServiceWrapper.exe YourServiceName Path\to\your\custom\exe Arg1 Arg2 Arg3... " DisplayName="YourServiceName"
+```
+The arguments 
+``
+Arg1 Arg2 Arg3...
+``
+are optional and will be passed to your custom executable as commandline parameters.
+
+As an example:
+```
+sc.exe create "Nomad" binPath="C:\Programs\ServiceWrapper\TestService.exe Nomad C:\Programs\Nomad\Nomad.exe agent -config=C:\Programs\Nomad\server.conf" DisplayName="Nomad"
+```
+creates a service for the application Nomad and passes its configuration to it.
+
+Erro logs are located in you temp folder in ``ServiceWrapper.log``.
\ No newline at end of file
-- 
GitLab