diff --git a/cmd/dwelling-radio/main.go b/cmd/dwelling-radio/main.go index 981e9b8..ef8fdd3 100644 --- a/cmd/dwelling-radio/main.go +++ b/cmd/dwelling-radio/main.go @@ -21,7 +21,7 @@ var ( icecastUrl = flag.String("ic-url", "", "URL to an Icecast's status-json.xsl") icecastPlaylistPath = flag.String("ic-playlist", "/var/log/icecast/playlist.log", "path to an Icecast's playlist.log file") filelistPath = flag.String("filelist", "/srv/radio/filelist.html", "path to a filelist.html file") - mostListenedSongPath = flag.String("mls-file", "/mnt/data/appdata/mostlistenedsong", "path to a file that stores info about the most listened song") + mostListenedSongPath = flag.String("mls-file", "/srv/radio/mostlistenedsong", "path to a file that stores info about the most listened song") songListLen = flag.Int("lst-len", 10, "number of songs to show in last N songs table") showVersion = flag.Bool("v", false, "show version") diff --git a/init/radio.service b/init/radio.service index e49d0fb..bf31b62 100755 --- a/init/radio.service +++ b/init/radio.service @@ -11,7 +11,7 @@ ExecStart=/usr/bin/dwelling-radio -listen /var/run/dwelling-radio/sock \ -ic-url http://radio.arav.home.arpa/status-json.xsl \ -ic-playlist /var/log/icecast/playlist.log \ -filelist /srv/radio/filelist.html \ - -mls-file /mnt/data/appdata/mostlistenedsong \ + -mls-file /srv/radio/mostlistenedsong \ -lst-len 10 ReadOnlyPaths=/