sabisu

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

README

Windows Service Wrapper

Configuration

wrapper.toml

[service]
name="SpringApp"
display_name="SpringApp"
description="A Spring Boot application"
start_type="auto" # auto, manual, disabled
interactive=false # true, false
exec_retry=true # true, false
exec_max_retry=5

[exec]
command="c:\\winapp\\graalvm-jdk-21.0.1+12.1\\bin\\java"
args=[
    "-Xms1024m",
    "-Xmx1024m",
    "-Xss256k",
    "-jar", "server.jar",
]
envs=[]

[log]
path="wrapper.log"
max_backup=3
max_size=5 # MB

Run

Running in console:

sabisu -c wrapper.toml

Installing service:

sabisu -i wrapper.toml

Uninstall service:

sabisu -r wrapper.toml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL