FS#40827 - [minidlna] service remove user and rescan on startup

Attached to Project: Community Packages
Opened by Eduardo Henrique Arnold (eduardoarnoldh) - Thursday, 12 June 2014, 21:07 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 16 June 2014, 10:42 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Currently the Minidlna service forces the daemon to run as user Nobody, ignoring the user informed in the configuration file /etc/minidlna.conf. This line specifying the user should be removed from the service file in order to provide the correct functionality.

Also, the start command should include the -R option, to rescan the library before each start, as it may have been modified while the service was not running and will not be updated, because the iNotify service only report changes in the directory while the daemon is still running.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 16 June 2014, 10:42 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Monday, 16 June 2014, 10:42 GMT
user removed from .service, but I did not add -R option. I think library can be really huge to rescan it on each start. Anyway if someone needs it he can copy .service into /etc/systemd/ and modify it.

Loading...