diff options
| author | crupest <crupest@outlook.com> | 2024-10-23 23:32:32 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2024-10-31 18:43:15 +0800 | 
| commit | 450b5347e75bf759a5588522bd7ff4e8a7e3d664 (patch) | |
| tree | a0361391ef5abbd0512f7c4c50e814444991eb71 /tools | |
| parent | a51f078e3b7a456b8f47a74c6e370399a43a47c1 (diff) | |
| download | crupest-450b5347e75bf759a5588522bd7ff4e8a7e3d664.tar.gz crupest-450b5347e75bf759a5588522bd7ff4e8a7e3d664.tar.bz2 crupest-450b5347e75bf759a5588522bd7ff4e8a7e3d664.zip | |
feat(config): update some Windows bootstrap files.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/Crupest.SecretTool/tools/crupest-secret-tool.xml | 49 | 
1 files changed, 49 insertions, 0 deletions
| diff --git a/tools/Crupest.SecretTool/tools/crupest-secret-tool.xml b/tools/Crupest.SecretTool/tools/crupest-secret-tool.xml new file mode 100644 index 0000000..9b85f13 --- /dev/null +++ b/tools/Crupest.SecretTool/tools/crupest-secret-tool.xml @@ -0,0 +1,49 @@ +<!-- +  MIT License + +  Copyright (c) 2008-2020 Kohsuke Kawaguchi, Sun Microsystems, Inc., CloudBees, +  Inc., Oleg Nenashev and other contributors + +  Permission is hereby granted, free of charge, to any person obtaining a copy +  of this software and associated documentation files (the "Software"), to deal +  in the Software without restriction, including without limitation the rights +  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +  copies of the Software, and to permit persons to whom the Software is +  furnished to do so, subject to the following conditions: + +  The above copyright notice and this permission notice shall be included in all +  copies or substantial portions of the Software. + +  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +  SOFTWARE. +--> + +<!-- + This is a sample configuration of the Windows Service Wrapper. + This configuration file should be placed near the WinSW executable, the name should be the same. + E.g. for myapp.exe the configuration file name should be myapp.xml +  + You can find more information about configuration options here: +https://github.com/kohsuke/winsw/blob/master/doc/xmlConfigFile.md +--> +<service> +    <id>crupest-secret-tool</id> +    <name>Crupest Secret Tool</name> +    <description>Crupest Secret Tool (powered by WinSW)</description> + +    <!-- Path to the executable, which should be started --> +    <executable>%BASE%\Crupest.SecretTool.exe</executable> + +    <onfailure action="restart" delay="10 sec" /> +    <onfailure action="restart" delay="30 sec" /> +    <onfailure action="restart" delay="50 sec" /> + +    <workingdirectory>%BASE%</workingdirectory> + +    <startmode>Automatic</startmode> +</service>
\ No newline at end of file | 
