Files
BanForge/internal/config/template.go
d3m0k1d e94191ae4d
All checks were successful
CI.yml / build (push) Successful in 1m46s
Fix: add chek if path exists
2026-01-13 22:51:12 +03:00

25 lines
436 B
Go

package config
const Base_config = `
# This is a TOML config file for BanForge
# [https://github.com/d3m0k1d/BanForge](https://github.com/d3m0k1d/BanForge)
[firewall]
name = ""
config = "/etc/nftables.conf"
ban_time = 1200
[service]
name = "nginx"
log_path = "/var/log/nginx/access.log"
enabled = true
[service]
name = "nginx"
log_path = "/var/log/nginx/access.log"
enabled = false
`
// TODO: fix types for use 1 or any services"