I’m trying to get minidlna started during boot, but starting minidlna via systemctl does not seem to work.
Minidlna works, data is streamed too.
Details:
rpm: minidlna-1.1.4 from home:aevseev (http://download.opensuse.org/repositories/home:/aevseev/openSUSE_13.1).
Starting minidlna with the following command works:
/usr/sbin/minidlnad -f /etc/minidlna.conf -P /var/run/minidlna.pid -S
The command above is taken from the systemctl unit (or what is the name for it):
/etc/systemd/system/multi-user.target.wants/minidlna.service
The -S is especially for systemctl (see minidlnad --help)
The result of the systemctl command is:
# systemctl start minidlna.service
Job for minidlna.service failed. See 'systemctl status minidlna.service' and 'journalctl -xn' for details.
# systemctl status minidlna.service
minidlna.service - DLNA/UPnP-AV media server
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: timeout) since do 2014-12-04 10:55:13 CET; 11min ago
Docs: man:minidlnad(8)
man:minidlna.conf(5)
Process: 11832 ExecStart=/usr/sbin/minidlnad -f /etc/minidlna.conf -P /var/run/minidlna.pid -S (code=exited, status=0/SUCCESS)
dec 04 10:53:43 os131-1 systemd[1]: Starting DLNA/UPnP-AV media server...
dec 04 10:53:43 os131-1 minidlnad[11832]: minidlna.c:1026: warn: Starting MiniDLNA version 1.1.4.
dec 04 10:53:43 os131-1 minidlnad[11832]: minidlna.c:1065: warn: HTTP listening on port 8200
dec 04 10:55:13 os131-1 systemd[1]: minidlna.service operation timed out. Terminating.
dec 04 10:55:13 os131-1 minidlnad[11832]: minidlna.c:154: warn: received signal 15, good-bye
dec 04 10:55:13 os131-1 systemd[1]: Failed to start DLNA/UPnP-AV media server.
dec 04 10:55:13 os131-1 systemd[1]: Unit minidlna.service entered failed state.
journal -xn does not reveal anything else.
What’s preventing systemctl to start minidlna? It seems to timeout after 90s, is that a sign for something?