[lttng-dev] Automating lttng-sessiond startup

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Jan 22 16:51:14 EST 2013


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



More information about the lttng-dev mailing list