[systemd-devel] Alais for SMTP providers

Lennart Poettering lennart at poettering.net
Mon Jun 14 12:05:56 UTC 2021


On Sa, 12.06.21 03:33, Kenneth Porter (shiva at sewingwitch.com) wrote:

> I just finished adding a custom service to send an email on system
> shutdown/startup, based on this article:
>
> <https://askubuntu.com/questions/851946/send-me-an-email-on-computer-shutdown>
>
> I ended up coding an After for postfix.service so the mail would get get
> delivered before the system shut down. I'd like to be able to use the same
> unit file on older systems that use sendmail, and I know there are other
> packages that provide SMTP and local mail. So it would be desirable to have
> an Alias for those services. I'm using CentOS 8 (7 on older systems). Is
> this perhaps already present in a newer commit? Is there a registry for
> well-known aliases for package writers?

You mean a generic target or so that generically encapsulates "mail
server is up"?

We have no such target upstream, and I am not sure we should add
that. Maybe your downstream distro has that though.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list