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: 0.git+20100605+dfd8ee-1~11^2^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=683f468c54a81fd4084a2ba1082025959cd3c7d1;p=systemd unit: ship a mail-transfer-agent.target unit by default --- diff --git a/Makefile.am b/Makefile.am index f1f9da7a..a96b89d6 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 1c647e90..0af9c6e7 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 00000000..2640076d --- /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