mirror of https://github.com/winsw/winsw
Refactors
parent
5a533668af
commit
bad589878d
|
@ -33,7 +33,7 @@ Binaries are available [here](https://repo.jenkins-ci.org/releases/com/sun/winsw
|
|||
|
||||
## Usage
|
||||
|
||||
WinSW is being managed by configuration files: [Main XML configuration file](doc/xmlConfigFile.md) and [Main YML configuration file](doc/yamlConfigFile.md).
|
||||
WinSW is being managed by configuration files: [Main XML configuration file](doc/xmlConfigFile.md) and [Main YAML configuration file](doc/yamlConfigFile.md).
|
||||
|
||||
Your renamed *WinSW.exe* binary also accepts the following commands:
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace WinSW
|
|||
bool inConsoleMode = argsArray.Length > 0;
|
||||
|
||||
// If descriptor is not specified, initialize the new one (and load configs from there)
|
||||
descriptor = GetConfigType();
|
||||
descriptor = GetServiceDescriptor();
|
||||
|
||||
// Configure the wrapper-internal logging.
|
||||
// STDOUT and STDERR of the child process will be handled independently.
|
||||
|
@ -659,7 +659,7 @@ namespace WinSW
|
|||
}
|
||||
}
|
||||
|
||||
private static IWinSWConfiguration GetConfigType()
|
||||
private static IWinSWConfiguration GetServiceDescriptor()
|
||||
{
|
||||
var executablePath = new DefaultWinSWSettings().ExecutablePath;
|
||||
var baseName = Path.GetFileNameWithoutExtension(executablePath);
|
||||
|
|
Loading…
Reference in New Issue