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
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
|
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
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.