Bump
This commit is contained in:
23
root/data/.config/mopidy.conf
Executable file
23
root/data/.config/mopidy.conf
Executable file
@@ -0,0 +1,23 @@
|
||||
[core]
|
||||
cache_dir = /data/.cache
|
||||
config_dir = /data/.config
|
||||
data_dir = /data
|
||||
|
||||
[file]
|
||||
media_dirs = /music|Music
|
||||
|
||||
[local]
|
||||
library = images
|
||||
media_dir = /music
|
||||
|
||||
[local-images]
|
||||
library = sqlite
|
||||
|
||||
[m3u]
|
||||
playlists_dir = /playlists
|
||||
|
||||
[http]
|
||||
hostname = 0.0.0.0
|
||||
|
||||
[mpd]
|
||||
hostname = 0.0.0.0
|
||||
10
root/usr/local/bin/run.sh
Executable file
10
root/usr/local/bin/run.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
function stop() {
|
||||
kill $PID
|
||||
}
|
||||
|
||||
trap stop HUP INT TERM
|
||||
su-exec mopidy mopidy --config "/data/.config/mopidy.conf" "${@}" &
|
||||
PID=$!
|
||||
wait $PID
|
||||
Reference in New Issue
Block a user