Watchdog service for managing the various Gladius processes.
Check out our pretty slate docs here
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.
# 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