mirror of https://github.com/winsw/winsw
Mention boolean elements
parent
2a5db3d7bb
commit
1ac8fe1d4c
|
@ -16,3 +16,6 @@ TODO
|
|||
- Consider removing `<username>` and `<password>` from config file and using `<prompt>` in interactive context, or `--username` and `--password` command-line options in non-interactive context.
|
||||
1. Remove `<waithint>`.
|
||||
1. Remove `<sleeptime>`.
|
||||
1. Replace `<delayedAutoStart />` with `<delayedAutoStart>true</delayedAutoStart>`.
|
||||
1. Replace `<interactive />` with `<interactive>true</interactive>`.
|
||||
1. Replace `<beeponshutdown />` with `<beeponshutdown>true</beeponshutdown>`.
|
||||
|
|
|
@ -72,7 +72,7 @@ Please note that this startup mode will not take affect on old Windows versions
|
|||
Windows service installation may fail in such case.
|
||||
|
||||
```xml
|
||||
<delayedAutoStart/>
|
||||
<delayedAutoStart>true</delayedAutoStart>
|
||||
```
|
||||
|
||||
### depend
|
||||
|
@ -172,7 +172,7 @@ If this optional element is specified, the service will be allowed to interact w
|
|||
If your program requires GUI, set this like the following:
|
||||
|
||||
```xml
|
||||
<interactive />
|
||||
<interactive>true</interactive>
|
||||
```
|
||||
|
||||
Note that since the introduction UAC (Windows Vista and onward), services are no longer really allowed to interact with the desktop.
|
||||
|
@ -183,6 +183,10 @@ In those OSes, all that this does is to allow the user to switch to a separate w
|
|||
This optional element is to emit [simple tones](https://docs.microsoft.com/windows/win32/api/utilapiset/nf-utilapiset-beep) when the service shuts down.
|
||||
This feature should be used only for debugging, as some operating systems and hardware do not support this functionality.
|
||||
|
||||
```xml
|
||||
<beeponshutdown>true</beeponshutdown>
|
||||
```
|
||||
|
||||
### download
|
||||
|
||||
This optional element can be specified multiple times to have the service wrapper retrieve resources from URL and place it locally as a file.
|
||||
|
|
Loading…
Reference in New Issue