chiark / gitweb /
unit: ship a mail-transfer-agent.target unit by default
authorLennart Poettering <lennart@poettering.net>
Mon, 24 May 2010 20:30:54 +0000 (22:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 May 2010 20:30:54 +0000 (22:30 +0200)
Makefile.am
man/systemd.special.xml.in
units/mail-transfer-agent.target [new file with mode: 0644]

index f1f9da7a0bb6e5fdf428a2522c09fb72c88d92c9..a96b89d6182271dc94e85f4f43ee624a4bda2197 100644 (file)
@@ -87,6 +87,7 @@ dist_systemunit_DATA = \
        units/local-fs.target \
        units/network.target \
        units/nss-lookup.target \
+       units/mail-transfer-agent.target \
        units/poweroff.target \
        units/reboot.target \
        units/remote-fs.target \
index 1c647e903c85f02951414356eb45dd261d00ce57..0af9c6e7bb1a20ea6ed69ba0d1cb2cad4d9cac60 100644 (file)
@@ -57,6 +57,7 @@
                 <filename>halt.target</filename>,
                 <filename>kbrequest.target</filename>,
                 <filename>local-fs.target</filename>,
+                <filename>mail-transfer-agent.target</filename>,
                 <filename>multi-user.target</filename>,
                 <filename>network.target</filename>,
                 <filename>nss-lookup.target</filename>,
                                         facility.</para>
                                 </listitem>
                         </varlistentry>
+                        <varlistentry>
+                                <term><filename>mail-transfer-agent.target</filename></term>
+                                <listitem>
+                                        <para>The mail transfer agent
+                                        (MTA) service. Usually this
+                                        should pull in all units
+                                        necessary for
+                                        sending/receiving mails on the
+                                        local host.</para>
+
+                                        <para>systemd automatically
+                                        adds dependencies of type
+                                        After for this target unit to
+                                        all SysV init script service
+                                        units with an LSB header
+                                        referring to the
+                                        <literal>$mail-transfer-argent</literal>
+                                        or
+                                        <literal>$mail-transport-agent</literal>
+                                        facilities, for compatibility
+                                        with Debian.</para>
+                                </listitem>
+                        </varlistentry>
                         <varlistentry>
                                 <term><filename>multi-user.target</filename></term>
                                 <listitem>
diff --git a/units/mail-transfer-agent.target b/units/mail-transfer-agent.target
new file mode 100644 (file)
index 0000000..2640076
--- /dev/null
@@ -0,0 +1,11 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Mail Transfer Agent