Refactors

pull/641/head
Buddhika Chathuranga 2020-08-10 09:44:47 +05:30
parent 5a533668af
commit bad589878d
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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);