I ran across the following thread when looking up some info on setting up logrotate (linux) for Hobbit.<br>I'm curious, though... The man page for hobbitd says that SIGHUP will cause hobbitd to "Re-read the bb-hosts configuration file."
<br>Does that mean the example below with the postrotate command will actually work as intended, or will it only have hobbitd re-read the config file?<br><br><br><h1>Re: [hobbit] logrotate - hobbit</h1>
<hr>


<ul><li><em>To</em>: hobbit (at) <a href="http://hswn.dk">hswn.dk</a></li><li><em>Subject</em>: Re: [hobbit] logrotate - hobbit</li><li><em>From</em>: Rich Smrcina <rsmrcina (at) <a href="http://wi.rr.com">wi.rr.com</a>
></li><li><em>Date</em>: Mon, 23 May 2005 00:26:00 -0500</li><li><em>References</em>: <<a href="http://www.hswn.dk/hobbiton/2005/05/msg00283.html">b537f65105052222162e6c25d1@mail.gmail.com</a>></li><li><em>User-agent
</em>: Mozilla Thunderbird 1.0.2 (X11/20050317)</li></ul>


<hr>


<pre style="margin: 0em;">Great stuff Brian.  Thanks for contributing.</pre><br>
<tt>Brian Lynch wrote:
</tt><blockquote style="border-left: 0.2em solid rgb(85, 85, 238); margin: 0em; padding-left: 0.85em;"><tt>For anyone using 'logrotate', the following file will rotate all the 
hobbit logs.<br>
Create the file as logrotate.cfg:</tt><br>
<br>
<pre style="margin: 0em;"># Configuration file for logrotate application<br>#<br># Add the following line to cron:<br># 0 8 * * * /usr/sbin/logrotate [hobbit directory]/server/etc/logrotate.cfg<br>#</pre><br>
<pre style="margin: 0em;"># Global options<br>compress</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/bbcombotest.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/bb-display.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/bb-retest.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/enadis.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/history.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/hobbitd.log {<br>    missingok<br>    weekly<br>    rotate 5<br>    postrotate<br>                /bin/kill -HUP `cat /var/log/hobbit/hobbitd.pid`<br>    endscript<br>}</pre><br>

<pre style="margin: 0em;">/var/log/hobbit/hobbitlaunch.log {<br>    missingok<br>    weekly<br>    rotate 5<br>    postrotate<br>                /bin/kill -HUP `cat /var/log/hobbit/hobbitlaunch.pid`<br>    endscript<br>}
</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/larrd-data.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/larrd-status.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/page.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
<pre style="margin: 0em;">/var/log/hobbit/purple.log {<br>    missingok<br>    weekly<br>    rotate 5<br>}</pre><br>
</blockquote><pre style="margin: 0em;"><br>--<br>Rich Smrcina<br>VM Assist, Inc.<br>Main: (262)392-2026<br>Cell: (414)491-6001<br>Ans Service:  (360)715-2467<br>rich.smrcina at <a href="http://vmassist.com">vmassist.com</a>
</pre><br>
<pre style="margin: 0em;">Catch the WAVV!  <a href="http://www.wavv.org/">http://www.wavv.org</a><br>WAVV 2005 - Colorado Springs - May 20-24, 2005<br></pre>