Skip to content

cloudbase/OpenStackService

Repository files navigation

OpenStackService

Windows service wrapper for generic executables. This will help users to create simple services for their binaries.

License

The project is created and maintained under Apache License v2

Features

Beside just wrapping binaries the service wrapper has some interesting features:

  • --log-file <file> this will allow the service wrapper to output the STD_ERR and STD_OUT to a given file specified by
  • environment-file environment file to be added to the given wrapped binary
  • environment-file-pshell environment file in powershell format to be added to the given wrapped binary
  • exec-start-pre command to be executed before starting the service
  • service-command service command line
  • config path to an ini file that may contain any of the above parameters.

Simple example to wrap a binary:

TODO

Simple example to wrap standard out and error:

TODO

Simple example to set the environment file:

TODO

Simple example to execute a command before starting the service:

TODO

An example that contains all of the above:

TODO

Compiling and building

This project can be compiled either from Visual Studio 2015 or 2017.

You will have to download the appropriate platform toolset for each version.

You can compile either from the GUI or the command line.

An example script can be found here for your convenience.

About

Windows service wrapper for generic executables, e.g. Python

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors