Re: [systemd-devel] Alais for SMTP providers

2021-06-14 Thread Lennart Poettering
On Sa, 12.06.21 03:33, Kenneth Porter (sh...@sewingwitch.com) wrote:

> I just finished adding a custom service to send an email on system
> shutdown/startup, based on this article:
>
> 
>
> 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
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Alais for SMTP providers

2021-06-12 Thread Kenneth Porter
I just finished adding a custom service to send an email on system 
shutdown/startup, based on this article:




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?


___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel