<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3822&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / package dqcache]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3822</link>
		<description><![CDATA[The most recent posts in package dqcache.]]></description>
		<lastBuildDate>Tue, 22 Sep 2020 20:36:19 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: package dqcache]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=24857#p24857</link>
			<description><![CDATA[<p>nice, thanks for this <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>edit] just a note, make init script executable, after creating : </p><div class="codebox"><pre><code># chmod +x /etc/init.d/dqcache</code></pre></div><p>also, init script change line 3 to :</p><div class="codebox"><pre><code># Provides:          dqcache</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (xinomilo)]]></author>
			<pubDate>Tue, 22 Sep 2020 20:36:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=24857#p24857</guid>
		</item>
		<item>
			<title><![CDATA[package dqcache]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=24624#p24624</link>
			<description><![CDATA[<p>The package <strong>dqcache</strong> comes without any init.d script so it thus needs hand crafting.</p><p>1) Edit <span class="bbc">/etc/default/dqcache</span> by adding &quot;<strong>export</strong>&quot; to every variable setting. For example:</p><div class="quotebox"><blockquote><div><p># dqcache runs chrooted in the directory specified<br /># by the $ROOT environment variable<br />#<br /><strong>export</strong> ROOT=&quot;/var/lib/dqcache/root&quot;</p><p># dqcache listens for incoming UDP packets and TCP connections<br />....</p></div></blockquote></div><p>2) Create <span class="bbc">/etc/init.d/dqcache</span> with the following:</p><div class="quotebox"><blockquote><div><p>#!/usr/bin/env /lib/init/init-d-script<br />### BEGIN INIT INFO<br /># Provides:&#160; &#160; &#160; &#160; &#160; atd<br /># Required-Start:&#160; &#160; $syslog $time $remote_fs<br /># Required-Stop:&#160; &#160; &#160;$syslog $time $remote_fs<br /># Default-Start:&#160; &#160; &#160;2 3 4 5<br /># Default-Stop:&#160; &#160; &#160; 0 1 6<br /># Short-Description: DNS Cacher<br /># Description:&#160; &#160; &#160; &#160;Debian init script to start the dbcacher daemon<br />### END INIT INFO<br />DESC=&quot;DNS cacher daemon&quot; <br />DAEMON=/usr/sbin/dqcache<br />PIDFILE=none<br />NAME=dqcache<br />START_ARGS=--background<br />export UID=$(id -u $NAME)<br />export GID=$(id -g $NAME)</p></div></blockquote></div><p>3) Finalize with usual hands-on</p><div class="codebox"><pre><code># update-rc.d dqcache defaults
# update-rc.d dqcache enable
# service dqcache restart</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 14 Sep 2020 09:51:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=24624#p24624</guid>
		</item>
	</channel>
</rss>
