From: Lennart Poettering Date: Mon, 24 May 2010 20:30:54 +0000 (+0200) Subject: unit: ship a mail-transfer-agent.target unit by default X-Git-Tag: v1~260 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=683f468c54a81fd4084a2ba1082025959cd3c7d1 unit: ship a mail-transfer-agent.target unit by default --- diff --git a/Makefile.am b/Makefile.am index f1f9da7a0..a96b89d61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/man/systemd.special.xml.in b/man/systemd.special.xml.in index 1c647e903..0af9c6e7b 100644 --- a/man/systemd.special.xml.in +++ b/man/systemd.special.xml.in @@ -57,6 +57,7 @@ halt.target, kbrequest.target, local-fs.target, + mail-transfer-agent.target, multi-user.target, network.target, nss-lookup.target, @@ -248,6 +249,29 @@ facility. + + mail-transfer-agent.target + + The mail transfer agent + (MTA) service. Usually this + should pull in all units + necessary for + sending/receiving mails on the + local host. + + 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 + $mail-transfer-argent + or + $mail-transport-agent + facilities, for compatibility + with Debian. + + multi-user.target diff --git a/units/mail-transfer-agent.target b/units/mail-transfer-agent.target new file mode 100644 index 000000000..2640076d6 --- /dev/null +++ b/units/mail-transfer-agent.target @@ -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