adjust default log, pick and config locations. renotify on critical only, make user sessions persistem

This commit is contained in:
Andreas Wrede
2026-04-10 13:24:57 -04:00
parent 2015195112
commit 2468386f24
8 changed files with 26 additions and 11 deletions
+2 -4
View File
@@ -16,12 +16,10 @@ SERVER_DEFAULTS = {
"hbd_host": "", # Bind address (empty = all interfaces)
# Persistence
"pickfile": "/tmp/hb.pick",
"pickfile": os.path.join(os.path.expanduser("~"), ".hb.pick"), # File to store host state between restarts
# Logging
"logfile": "/var/log/heartbeat.log",
"logfmt": "text", # text or msg or json
"logfile": os.path.join(os.path.expanduser("~"), ".hb.log"),
# Notification channels
"notification_channels": {}, # Named channels with type and credentials
"default_notification_channels": [], # Default channels if host doesn't specify