1
0

Remove log section from config, since it is not used anymore.

This commit is contained in:
Alexander Andreev 2023-03-13 03:31:40 +04:00
parent aac6d8e43a
commit 31a892e43d
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 1 additions and 6 deletions

View File

@ -13,5 +13,3 @@ liquidsoap:
script_path: "/etc/dwelling/radio.liq" script_path: "/etc/dwelling/radio.liq"
# How much songs to list on a page # How much songs to list on a page
list_last_n_songs: 10 list_last_n_songs: 10
log:
error: "/var/log/dwelling-radio/error.log"

View File

@ -21,9 +21,6 @@ type Configuration struct {
ScriptPath string `yaml:"script_path"` ScriptPath string `yaml:"script_path"`
} `yaml:"liquidsoap"` } `yaml:"liquidsoap"`
ListLastNSongs int `yaml:"list_last_n_songs"` ListLastNSongs int `yaml:"list_last_n_songs"`
Log struct {
Error string `yaml:"error"`
} `yaml:"log"`
} }
// Load reads a YAML file that stores configuration of a service. // Load reads a YAML file that stores configuration of a service.