config: move account initialisation out into accounting

Before this change the initialisation for the accounting package was
done in the config package for some strange historical reason.
This commit is contained in:
Nick Craig-Wood
2021-03-10 20:16:17 +00:00
parent 1fed2d910c
commit a7fd65bf2d
4 changed files with 16 additions and 10 deletions

View File

@@ -386,6 +386,9 @@ func initConfig() {
// Load the config
configfile.LoadConfig(ctx)
// Start accounting
accounting.Start(ctx)
// Hide console window
if ci.NoConsole {
terminal.HideConsole()