[OmniOS-discuss] How some services boot
Software Information
softwareinforjam at gmail.com
Fri Apr 7 16:08:06 UTC 2017
Thanks very much for the comments. Someone else just suggested to me that I
could also try pkgsrc because they have a git server. Going to check it
out. Used pkgsrc on NetBSD so I am quite used to it. Will see how it works
out and check back in.
Thanks again.
On Thu, Apr 6, 2017 at 2:09 PM, Eric Sproul <eric.sproul at circonus.com>
wrote:
> On Thu, Apr 6, 2017 at 2:16 PM, Software Information
> <softwareinforjam at gmail.com> wrote:
> > Hi All
> > Just trying to understand how some services work under OmniOS. Please
> help
> > me to understand this. I have build omnios-r151020-4151d05 and I am
> running
> > a Git Server in a zone. I used packages to install Git with a pkg
> install.
> > When I run svcs, I don't see the git service at all but I can use a
> client
> > to connect to it and the port is open. I am trying to get better at
> service
> > management. Where can I find the script that is starting this service.
>
> There are a couple of strategies. The brute-force method is to run
> `svcs` and look for services that recently started (by default they
> are sorted in time order, most recent at the end). It may be that the
> service has a name that you don't expect.
>
> IPS packages can deliver services that are automatically enabled, and
> you can discover that by examining the package contents. First, I'd
> look for it delivering an SMF manifest, which is an XML file that is
> typically installed somewhere under /var/svc/manifest:
>
> pkg contents <packagename> | grep svc/manifest
>
> If that turns up something, have a look in that file for the name of
> the service, which will be an attribute on the <service> node, e.g.
>
> <service name='someservice' ...>
>
> Assuming you find that, then `svcs someservice` should return something.
>
> HTH,
> Eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170407/10e9779b/attachment.html>
More information about the OmniOS-discuss
mailing list