daemon.xml   daemon.xml 
skipping to change at line 751 skipping to change at line 751
installation (e.g. <command>rpm -i</command> installation (e.g. <command>rpm -i</command>
by the administrator), symlinks should be by the administrator), symlinks should be
created in the systemd configuration created in the systemd configuration
directories via the <command>enable</command> directories via the <command>enable</command>
command of the command of the
<citerefentry><refentrytitle>systemctl</refentrytit le><manvolnum>1</manvolnum></citerefentry> <citerefentry><refentrytitle>systemctl</refentrytit le><manvolnum>1</manvolnum></citerefentry>
tool to activate them automatically on tool to activate them automatically on
boot.</para> boot.</para>
<para>Packages using <para>Packages using
<citerefentry><refentrytitle>autoconf</refentrytitl e><manvolnum>1</manvolnum></citerefentry> <citerefentry project='die-net'><refentrytitle>auto conf</refentrytitle><manvolnum>1</manvolnum></citerefentry>
are recommended to use a configure script are recommended to use a configure script
excerpt like the following to determine the excerpt like the following to determine the
unit installation path during source unit installation path during source
configuration:</para> configuration:</para>
<programlisting>PKG_PROG_PKG_CONFIG <programlisting>PKG_PROG_PKG_CONFIG
AC_ARG_WITH([systemdsystemunitdir], AC_ARG_WITH([systemdsystemunitdir],
[AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for syst emd service files])],, [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for syst emd service files])],,
[with_systemdsystemunitdir=auto]) [with_systemdsystemunitdir=auto])
AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystem unitdir" = "xauto"], [ AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystem unitdir" = "xauto"], [
skipping to change at line 786 skipping to change at line 786
installation even on machines lacking installation even on machines lacking
systemd. (Modification of this snippet for the systemd. (Modification of this snippet for the
user unit directory is left as an exercise for the user unit directory is left as an exercise for the
reader.)</para> reader.)</para>
<para>Additionally, to ensure that <para>Additionally, to ensure that
<command>make distcheck</command> continues to <command>make distcheck</command> continues to
work, it is recommended to add the following work, it is recommended to add the following
to the top-level <filename>Makefile.am</filename> to the top-level <filename>Makefile.am</filename>
file in file in
<citerefentry><refentrytitle>automake</refentrytitl e><manvolnum>1</manvolnum></citerefentry>-based <citerefentry project='die-net'><refentrytitle>auto make</refentrytitle><manvolnum>1</manvolnum></citerefentry>-based
projects:</para> projects:</para>
<programlisting>DISTCHECK_CONFIGURE_FLAGS = \ <programlisting>DISTCHECK_CONFIGURE_FLAGS = \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdi r)</programlisting> --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdi r)</programlisting>
<para>Finally, unit files should be installed in th e system with an automake excerpt like the following:</para> <para>Finally, unit files should be installed in th e system with an automake excerpt like the following:</para>
<programlisting>if HAVE_SYSTEMD <programlisting>if HAVE_SYSTEMD
systemdsystemunit_DATA = \ systemdsystemunit_DATA = \
foobar.socket \ foobar.socket \
foobar.service foobar.service
endif</programlisting> endif</programlisting>
<para>In the <para>In the
<citerefentry><refentrytitle>rpm</refentrytitle><ma nvolnum>8</manvolnum></citerefentry> <citerefentry project='die-net'><refentrytitle>rpm< /refentrytitle><manvolnum>8</manvolnum></citerefentry>
<filename>.spec</filename> file, use snippets <filename>.spec</filename> file, use snippets
like the following to enable/disable the like the following to enable/disable the
service during service during
installation/deinstallation. This makes use of installation/deinstallation. This makes use of
the RPM macros shipped along systemd. Consult the RPM macros shipped along systemd. Consult
the packaging guidelines of your distribution the packaging guidelines of your distribution
for details and the equivalent for other for details and the equivalent for other
package managers.</para> package managers.</para>
<para>At the top of the file:</para> <para>At the top of the file:</para>
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/