Set a new path to radio files (where playlists, filelist, and music are stored).
This commit is contained in:
parent
ad5608375c
commit
fea96118bc
@ -20,8 +20,8 @@ var (
|
||||
listenAddress = flag.String("listen", "/var/run/dwelling-radio/sock", "listen address (ip:port|unix_path)")
|
||||
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", "/srv/radio/mostlistenedsong", "path to a file that stores info about the most listened song")
|
||||
filelistPath = flag.String("filelist", "/mnt/data/appdata/radio/filelist.html", "path to a filelist.html file")
|
||||
mostListenedSongPath = flag.String("mls-file", "/mnt/data/appdata/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")
|
||||
|
@ -6,7 +6,7 @@ radio_url = "https://radio.arav.su"
|
||||
radio_name = "Arav's dwelling / Radio"
|
||||
radio_desc = "Broadcasting from under my desk."
|
||||
|
||||
radio_dir = "/srv/radio/"
|
||||
radio_dir = "/mnt/data/appdata/radio/"
|
||||
|
||||
harbor_port = 8002
|
||||
harbor_password = ""
|
||||
|
@ -10,8 +10,8 @@ DynamicUser=yes
|
||||
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 /srv/radio/mostlistenedsong \
|
||||
-filelist /mnt/data/appdata/radio/filelist.html \
|
||||
-mls-file /mnt/data/appdata/radio/mostlistenedsong \
|
||||
-lst-len 10
|
||||
|
||||
ReadOnlyPaths=/
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
radio_dir=/srv/radio
|
||||
radio_dir=/mnt/data/appdata/radio
|
||||
|
||||
case $1 in
|
||||
f | filelist)
|
||||
|
Loading…
Reference in New Issue
Block a user