<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Скрипты /etc/init.d для Ubuntu]]></title><description><![CDATA[<p dir="auto">Коллеги,</p>
<p dir="auto">Я тут налабал скрипты для старта и стопа NetXMS сервера и агента в Убунту Линуксе. Думаю, что они пойдут на любой debian-системе (хотя не очень в этом уверен). Feel free, так сказать. Для инсталляции нужно проделать следующие шаги:</p>
<ol>
<li>Поместить скрипты в /etc/init.d</li>
<li>Сделать их executable:</li>
</ol>
<pre><code>chmod u+x /etc/init.d/netxmsd &amp;&amp; chmod u+x /etc/init.d/nxagentd
</code></pre>
<ol start="3">
<li>Поменять переменные, указывающие на расположение файлов (DAEMON, PIDFILE)</li>
<li>Прописать линки в соответствующие rc-директории. Я делаю это так:</li>
</ol>
<pre><code>#cd /etc/init.d
#update-rc.d netxmsd start 50 S . stop 18 1 .
#update-rc.d nxagentd start 51 S . stop 17 1 .
</code></pre>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000172-netxmsd.sh">netxmsd.sh</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000173-nxagentd.sh">nxagentd.sh</a></p>
]]></description><link>https://forum.netxms.org/topic/465/скрипты-etc-init.d-для-ubuntu</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:58:31 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/465.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Sep 2008 21:17:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Скрипты /etc/init.d для Ubuntu on Tue, 09 Sep 2008 10:59:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/weec" aria-label="Profile: weec">@<bdi>weec</bdi></a> said in <a href="/post/2316">Скрипты /etc/init.d для Ubuntu</a>:</p>
<blockquote>
<p dir="auto">не пробовал сворганить .deb пакет?</p>
</blockquote>
<p dir="auto">Думал об этом. Но пока еще не занимался.</p>
]]></description><link>https://forum.netxms.org/post/2319</link><guid isPermaLink="true">https://forum.netxms.org/post/2319</guid><dc:creator><![CDATA[Dmitry]]></dc:creator><pubDate>Tue, 09 Sep 2008 10:59:43 GMT</pubDate></item><item><title><![CDATA[Reply to Скрипты /etc/init.d для Ubuntu on Tue, 09 Sep 2008 07:54:54 GMT]]></title><description><![CDATA[<p dir="auto">не пробовал сворганить .deb пакет?</p>
]]></description><link>https://forum.netxms.org/post/2316</link><guid isPermaLink="true">https://forum.netxms.org/post/2316</guid><dc:creator><![CDATA[weec]]></dc:creator><pubDate>Tue, 09 Sep 2008 07:54:54 GMT</pubDate></item></channel></rss>