<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 1/12/25 11:42 PM, Carmela bulemio
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DU0PR10MB71923C14F659817AE550EC94C31E2@DU0PR10MB7192.EURPRD10.PROD.OUTLOOK.COM">
      <table>
        <tbody>
          <tr>
            <td><br>
            </td>
          </tr>
          <tr>
            <td><span>I built my minidlna package from slackbuilds.<br>
                <br>
                But it was faulty. Trying to do anything like<br>
              </span>
              <div>
                <div>
                  Code:</div>
                <pre><div>/etc/rc.d/rc.minidlna restart/stop/start ..</div></pre>
              </div>
              <span>Threw an error. It looked like the PID was still
                running, but it wasn't.<br>
                <br>
                The<b> /etc/rc.d/rc.minidlna</b> was faulty.<br>
                <br>
                Just correcting this line solved the problem<br>
                <br>
                From this<br>
              </span>
              <div>
                <div>
                  Code:</div>
                <pre><div>PIDFILE="/var/run/${NAME}.pid"</div></pre>
              </div>
              <span>To this ( the right path)<br>
              </span>
              <div>
                <div>
                  Code:</div>
                <pre><div>PIDFILE="/var/run/minidlna/${NAME}.pid"</div></pre>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
      <div>
        <br>
      </div>
      <br>
    </blockquote>
    <br>
    Thanks, it's fixed in my branch. Note however, logrotate config also
    needs the fix.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Mario</pre>
  </body>
</html>