Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] Automating lttng-sessiond startup
Date: Tue, 22 Jan 2013 16:51:14 -0500	[thread overview]
Message-ID: <20130122215114.GA30918@Krystal> (raw)
In-Reply-To: <3CA1A65C03C1A34C81BBC6272782E69698797F@valcartierex01.valcartier.drdc-rddc.gc.ca>

We plan to put these init scripts into extras/ within lttng-tools at
some point, with appropriate documentation.

This part of the install process is rather hard to automate nowadays,
since every distribution has its own init system (upstrart, initrd,
others).

Thanks,

Mathieu

* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
>    To answer my own earlier question, the Ubuntu lttng packages (but not the git.lttng.org packages) automate the launch of the lttng-sessiond daemon through the Upstart service, by adding /etc/init/lttng-sessiond.conf:
> 
> description "LTTng 2.0 central tracing registry session daemon"
> author "St?phane Graber <stgraber at ubuntu.com>"
> start on local-filesystems
> stop on runlevel [06]
> respawn
> exec lttng-sessiond
> 
>    You need only create this file (as root) to have the git.lttng.org LTTng installation on a par with the Ubuntu packages'.
> 
> Daniel U. Thibault
> R & D pour la d?fense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
> Cyber s?curit? pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
> Protection des syst?mes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
> 2459 route de la Bravoure
> Qu?bec, QC? G3J 1X5
> CANADA
> Vox?: (418) 844-4000 x4245
> Fax?: (418) 844-4538
> NAC?: 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada?/ Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



      reply	other threads:[~2013-01-22 21:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22 20:32 Thibault, Daniel
2013-01-22 21:51 ` Mathieu Desnoyers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130122215114.GA30918@Krystal \
    --to=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox