mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-10-30 01:26:32 +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() {
|
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{})
|
restartChan := make(chan struct{})
|
||||||
go utils.WatchConfigFile("config.yml", restartChan)
|
go utils.WatchConfigFile("config.yml", restartChan)
|
||||||
|
Loading…
Reference in New Issue
Block a user