gladiusio / gladius-guardian

Watchdog service for managing the various Gladius processes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Go 88.7%Language:HTML 6.7%Language:Makefile 4.6%