Le vendredi 16 septembre 2011 à 11:57 +0200, Togan Muftuoglu a écrit :
On 09/15/2011 09:01 PM, Tejas Guruswamy wrote:
On 09/14/2011 10:40 AM, Togan Muftuoglu wrote:
Hi,
Is there an example or documentation related to integrating Systemd in spec files showing how to install and activate service files if system has systemd enabled.
There were a few threads here earlier, they should still be current http://lists.opensuse.org/opensuse-packaging/2011-06/msg00079.html
Thanks but the thread does not come to a conclusion if there are macros to be used or not and if there are what are they at the moment
There are macros and I haven't yet written the documentation because
some are still in flux and systemd preset handling isn't done yet.
Look at acpid package for a good example (but the *migration* macros
will disappear soon).
--
Frederic Crozat