mpd: set proper perms to /var/lib/mpd to make this work.
Reported and tested by maldridge.
This commit is contained in:
parent
bcb01fa0e3
commit
0b7c847742
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
install -d -m 0755 -o mpd -g mpd /run/mpd
|
||||
install -d -m 0755 /var/lib/mpd/playlists
|
||||
chown -R mpd:mpd /var/lib/mpd
|
||||
exec mpd --no-daemon
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mpd'
|
||||
pkgname=mpd
|
||||
version=0.19.16
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-opus --enable-mikmod --enable-neighbor-plugins
|
||||
--enable-soundcloud --enable-pipe-output --disable-twolame-encoder
|
||||
|
@ -22,7 +22,6 @@ makedepends="
|
|||
conf_files="/etc/mpd.conf"
|
||||
system_accounts="mpd"
|
||||
mpd_homedir="/var/lib/mpd"
|
||||
make_dirs="/var/lib/mpd/playlists 0755 mpd mpd"
|
||||
short_desc="Flexible, powerful, server-side application for playing music"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
|
|
Loading…
Reference in a new issue