All checks were successful
CI.yml / build (push) Successful in 1m45s
feat: first version for alpha test daemon on server fix: add second template for fix bug with slice Fix: add chek if path exists Fix: template one more time feat: Add file db on init command feat: add create dit feat: Add to init command create table to db feat: Add new logs for debug on server feat: Add CD, first release version chore:fix cd fix: change artifact ver from v4->v2 fix: ci one more time fix: ci
25 lines
440 B
Go
25 lines
440 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"
|