forked from tastytea/overlay
media-sound/navidrome-bin: create log dir
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
f0b2d0fdb3
commit
0e2e28008b
|
@ -14,7 +14,7 @@ command_user="navidrome:navidrome"
|
|||
command_background=1
|
||||
pidfile="/run/navidrome.pid"
|
||||
directory="${navidrome_home}"
|
||||
output_log="/var/log/navidrome.log"
|
||||
output_log="/var/log/navidrome/navidrome.log"
|
||||
error_log="${output_log}"
|
||||
|
||||
depend() {
|
||||
|
|
|
@ -39,6 +39,8 @@ src_install() {
|
|||
insinto /var/lib/navidrome
|
||||
doins navidrome.toml
|
||||
fowners -R navidrome:navidrome /var/lib/navidrome
|
||||
keepdir /var/log/navidrome
|
||||
fowners navidrome:navidrome /var/log/navidrome
|
||||
|
||||
systemd_dounit "${FILESDIR}"/navidrome.service
|
||||
newinitd "${FILESDIR}"/navidrome.initd navidrome
|
||||
|
|
Loading…
Reference in New Issue
Block a user