Anonymous - 2015-03-30

I try to run two instances to seperate my music archives.
I know
http://sourceforge.net/p/minidlna/patches/11/
https://wiki.archlinux.org/index.php/ReadyMedia#Running_minidlna_as_your_own_user

I try this with version 1.1.2 on an Lubuntu 14.04.2.
The problem is that after starting the two instances only the last one can be seen via UPnP. I am not sure what goes wrong.

Please see this output for more details:
[bash]
user@MONSTER:~/.config/minidlna$ sudo service minidlna stop
* Stopping DLNA/UPnP-AV media server minidlna [ OK ]

user@MONSTER:~/.config/minidlna$ ps -A | grep mini

user@MONSTER:~/.config/minidlna$ cat eins.conf
user=user
media_dir=A,/home/user/Musik/eins
db_dir=/home/user/.config/minidlna/cache
log_dir=/home/user/.config/minidlna
friendly_name=minidlnaEins
port=8201
inotify=yes

user@MONSTER:~/.config/minidlna$ cat zwei.conf
user=user
media_dir=A,/home/user/Musik/zwei
db_dir=/home/user/.config/minidlna/cache2
log_dir=/home/user/.config/minidlna
friendly_name=minidlnaZwei
port=8202
inotify=yes

user@MONSTER:~/.config/minidlna$ diff *.conf
2,3c2,3
< media_dir=A,/home/user/Musik/eins
< db_dir=/home/user/.config/minidlna/cache


media_dir=A,/home/user/Musik/zwei
db_dir=/home/user/.config/minidlna/cache2
5,6c5,6
< friendly_name=minidlnaEins
< port=8201


friendly_name=minidlnaZwei
port=8202

user@MONSTER:~/.config/minidlna$ minidlnad -f /home/user/.config/minidlna/eins.conf -P /run/minidlna1.pid

user@MONSTER:~/.config/minidlna$ minidlnad -f /home/user/.config/minidlna/zwei.conf -P /run/minidlna2.pid

user@MONSTER:~/.config/minidlna$ ps -A | grep mini
4428 ? 00:00:00 minidlnad
4456 ? 00:00:00 minidlnad

user@MONSTER:~/.config/minidlna$ minidlnad -V
Version 1.1.2
[/bash]

The final goal is to run that later on a RasperryPi with (maybe) xbian. So it would be easier to run this with only one user.
I didn't understand the docu behind the links correct. There is something about that I need to run that with different users. But I don't understand this 100%.
Do I have to create a new user account on my Lubuntu for that?
On he RasperryPi, only one user is still allive. I see their no way to login two users at the same time.

The instances are still alive but the first one is kind of hidden.
Between (I mean before starting the second) the two starts of the instances I can see the first one.