<p dir="ltr">Apt-get install chkconfig</p>
<div class="gmail_quote">On Apr 15, 2015 10:54 AM, &quot;David L. Willson&quot; &lt;<a href="mailto:DLWillson@thegeek.nu">DLWillson@thegeek.nu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000">I think it&#39;s a standalone service in Precise.<br><blockquote>$ ls /etc/init.d/portmap*<br>/etc/init.d/portmap  /etc/init.d/portmap-wait<br></blockquote>I get that there are two groups of services, or maybe five, if you count *inetd, upstart, systemd, sysv, and the other thing whose name I can&#39;t recall at the moment.<br><br>I think chkconfig can query them all, and in any systemd system, there&#39;s systemctl for anything registered as a unit, but that doesn&#39;t help, because Ubuntu Precise doesn&#39;t has chkconfig or systemd.<br><br><div><span name="x"></span>--<br>David L. Willson<br>Teacher, Engineer, Evangelist<br>RHCE+Satellite CCAH Network+ A+ Linux+ LPIC-1 UbuntuCP NovellCLA<br>Mobile 720-333-LANS(5267)<br><a href="http://sofree.us" target="_blank">http://sofree.us</a><br><br>This is a good time for a r3VOLution.<span name="x"></span><br></div><br><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt">David,<div><br></div><div><br><div><blockquote><div><span style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">So close. That article fills the ring around the bulls-eye with holes, by telling me how to enable or disable, start or stop, and even status (which only returns current running/stopped), but fails to hit it.</span></div><div><div style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><br>To be clear, I want to &#39;get&#39; whether the service is enabled, not &#39;set&#39; it.<br><br>In redhat&#39;ish distros, I would: chkconfig --list some-service<br><br>But I&#39;m unable to find the match for that in debian&#39;ish distros. Specifically, how do I do this in Ubuntu Precise?<br></div></div></blockquote><div><br></div><div>Your confusion is coming from that portmap isn’t a service that normally runs. Rather it’s one of the inetd services which are launched when requested. HTH</div><div><br></div><div>Kind regards,</div><div>Raymond</div><div><br></div></div><br></div><br>_______________________________________________<br>clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>For information, account preferences, or to unsubscribe see:<br><a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></blockquote><br></div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div>