Skip to content

Watchdog service for managing the various Gladius processes

License

Notifications You must be signed in to change notification settings

gladiusio/gladius-guardian

Repository files navigation

Gladius Guardian

Watchdog service for managing the various Gladius processes.

Docs

Check out our pretty slate docs here

Service Manager Setup

Action Command
Install service file gladius-guardian install
Start service gladius-guardian start
Stop service gladius-guardian stop

Note for macOS users: The installed version of the Gladius Guardian service doesn't use this functionality, it uses a custom service file to run this as a user service rather than a system one.

Config file example

# Default executable locations
NetworkdExecutable = "gladius-networkd"
ControldExecutable = "gladius-controld"

# Defualt environment variables for each executable, can also be specified when starting the service in the JSON body of the request.
DefaultEnvironment = ["GLADIUSBASE=your/base/here"]

# Set log level
LogLevel = "debug"

# How many lines to keep of service logs before old entries are deleted
MaxLogLines = 1000

These can also be overridden with environment variables like: GUARDIAN_CONFIGVAR=value

About

Watchdog service for managing the various Gladius processes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •