mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-10-29 17:16:31 +00:00
added back ensurefilesexist
This commit is contained in:
parent
57ca374de4
commit
56a725c5df
3
main.go
3
main.go
@ -21,7 +21,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
utils.ClearTemporaryBans()
|
||||
utils.EnsureFileExists("config.yml", "app/static/examples/config.example.yml")
|
||||
utils.EnsureFileExists("relay_metadata.json", "app/static/examples/relay_metadata.example.json")
|
||||
|
||||
restartChan := make(chan struct{})
|
||||
go utils.WatchConfigFile("config.yml", restartChan)
|
||||
|
Loading…
Reference in New Issue
Block a user