<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wolfwiki.anime.net/index.php?action=history&amp;feed=atom&amp;title=User%3ASkooli</id>
	<title>User:Skooli - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wolfwiki.anime.net/index.php?action=history&amp;feed=atom&amp;title=User%3ASkooli"/>
	<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Skooli&amp;action=history"/>
	<updated>2026-11-08T13:07:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Skooli&amp;diff=2564&amp;oldid=prev</id>
		<title>Skooli at 15:27, 1 December 2006</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Skooli&amp;diff=2564&amp;oldid=prev"/>
		<updated>2006-12-01T15:27:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== ETTVd startscript modification ===&lt;br /&gt;
I modified my start.sh to dump old logfiles and clean up the working dir before starting ettvd.&lt;br /&gt;
I &amp;quot;workarounded&amp;quot; it with linux cmds since i didnt want to install logrotate for that (and its just a few lines)&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # old logfile dumper&lt;br /&gt;
 if [ -r nohup.out ]; then                     # only log if there exist old logfiles&lt;br /&gt;
    if [ ! -d logs ]; then                     # if the logs/ directory does not exist...&lt;br /&gt;
       mkdir logs                              # ...create it&lt;br /&gt;
       echo &amp;quot;dumping files for the first time - created directory logs/&amp;quot;&lt;br /&gt;
    fi&lt;br /&gt;
 &lt;br /&gt;
    filename=`date &amp;quot;+%Y.%m.%d-%H.%M.%S&amp;quot;`       # set the current date to the filename of the archive&lt;br /&gt;
 &lt;br /&gt;
    tar cf logs/$filename.tar nohup.out *.log  # tar it&lt;br /&gt;
    gzip logs/$filename.tar                    # zip it&lt;br /&gt;
 &lt;br /&gt;
    rm nohup.out *.log                         # delete old logs from working dir&lt;br /&gt;
 &lt;br /&gt;
    echo &amp;quot;dumped old logfiles to logs/$filename.tar.gz&amp;quot;&lt;br /&gt;
    echo &amp;quot; &amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 # start ettvd&lt;br /&gt;
 nice -n-4 su youruser -c &amp;quot;nohup php5 ettvd.php &amp;amp;&amp;quot;&lt;/div&gt;</summary>
		<author><name>Skooli</name></author>
	</entry>
</feed>