{"id":313,"date":"2013-03-31T20:11:51","date_gmt":"2013-03-31T18:11:51","guid":{"rendered":"http:\/\/xn--jrme-bpa1e.net\/blog\/?p=313"},"modified":"2013-08-01T18:38:24","modified_gmt":"2013-08-01T16:38:24","slug":"minidlna-rc-d","status":"publish","type":"post","link":"https:\/\/xn--jrme-bpa1e.net\/blog\/post\/313\/minidlna-rc-d\/","title":{"rendered":"minidlna rc.d"},"content":{"rendered":"<p><code><br \/>\n#!\/bin\/sh<\/p>\n<p># $FreeBSD: net\/minidlna\/files\/minidlna.in 302141 2012-08-05 23:19:36Z dougb $<br \/>\n#<br \/>\n# PROVIDE: minidlna<br \/>\n# REQUIRE: LOGIN<br \/>\n# KEYWORD: shutdown<br \/>\n#<br \/>\n# Add the following line to \/etc\/rc.conf[.local] to enable minidlna:<br \/>\n#<br \/>\n# minidlna_enable=\"YES\"<\/p>\n<p>. \/etc\/rc.subr<\/p>\n<p>name=minidlna<br \/>\nrcvar=minidlna_enable<br \/>\ncommand=\/usr\/local\/sbin\/minidlna<\/p>\n<p>load_rc_config $name<\/p>\n<p>minidlna_enable=${minidlna_enable-\"NO\"}<br \/>\nminidlna_uid=${minidlna_uid-\"dlna\"}<\/p>\n<p>pidfile=\"\/var\/db\/minidlna\/minidlna.pid\"<\/p>\n<p>start_precmd=\"rm -f $pidfile\"<br \/>\nstop_postcmd=$start_precmd<\/p>\n<p>command_args=\"-P $pidfile -u $minidlna_uid\"<br \/>\nextra_commands=rescan<br \/>\nrescan_cmd=\"$command -P $pidfile -R -u $minidlna_uid\"<br \/>\nrequired_dirs=\"\/var\/db\/minidlna\"<\/p>\n<p>run_rc_command $1<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>#!\/bin\/sh # $FreeBSD: net\/minidlna\/files\/minidlna.in 302141 2012-08-05 23:19:36Z dougb $ # # PROVIDE: minidlna # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following line to \/etc\/rc.conf[.local] to enable minidlna: # # minidlna_enable=\u00a0\u00bbYES\u00a0\u00bb . \/etc\/rc.subr name=minidlna rcvar=minidlna_enable command=\/usr\/local\/sbin\/minidlna load_rc_config $name &hellip; <a href=\"https:\/\/xn--jrme-bpa1e.net\/blog\/post\/313\/minidlna-rc-d\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-313","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"_links":{"self":[{"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":2,"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/posts\/313\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xn--jrme-bpa1e.net\/blog\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}