From 683f468c54a81fd4084a2ba1082025959cd3c7d1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 May 2010 22:30:54 +0200 Subject: [PATCH] unit: ship a mail-transfer-agent.target unit by default --- Makefile.am | 1 + man/systemd.special.xml.in | 24 ++++++++++++++++++++++++ units/mail-transfer-agent.target | 11 +++++++++++ 3 files changed, 36 insertions(+) create mode 100644 units/mail-transfer-agent.target 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 -- 2.30.2