Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
josip committed Oct 6, 2013
2 parents 36309db + 3fe17b8 commit ba4eb7e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,24 @@ To run a scenario, specify it's name and, optionally, any additional arguments i

`run` command will immediately run the scenario in the foreground.

To see a list of all installed scenarios, use `--help` flag.

In order to run a scenario in background you first have to install the `schoolware` service by registering it with [svchost](http://en.wikipedia.org/wiki/Svchost).
In order to run a scenario in background you first have to install the `schoolware`
service by registering it with [svchost](http://en.wikipedia.org/wiki/Svchost).

C:>schoolware --scenario=net --net-ports=123456 install

`install` command will register the `schoolware` binary, other flags provided with `install` command (like `--scenario` and `--net-ports` above) will be used during service's start-up. Once the service is register, start-up flags cannot be changed.
`install` command will register the `schoolware` binary with svchost, while specified flags (`--scenario` and `--net-ports` in the example above)
will be used during service's start-up. Once the service is registered, start-up flags cannot be altered.

To start the service in the background, issue the following command:
To start the previously installed service in the background, issue the following command:

C:>schoolware start

Please note, due to limitations of svchost, schoolware binary has to be located on start-up disk (C: drive).
Please note, due to limitations of svchost, schoolware binary has to be located on a start-up disk (usually the C: drive).

In order to stop and remove the service, use the `stop` and `remove` commands respectively.
After the service has been removed, it can be registered again with different start-up parameters.

In order to stop and remove the service, use the `stop` and `remove` commands respectively. After the service has been removed, it can be registered again with different start-up parameters.
For list of all scenarios and available options, consult built-in `--help`.

## Building

Expand Down

0 comments on commit ba4eb7e

Please sign in to comment.