systemd alias for SMTP provider (and other services supplied by alternative providers)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I just finished adding a custom service to send an email on system shutdown/startup:

<https://github.com/SpareSimian/bootmail>

I ended up coding an After for postfix.service on CentOS 8 so the mail would get delivered before the system shut down. (I think I might need a delay, too, to allow the message to finish shipping to the monitoring server across the network.) 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 on my latest system and 7 on older systems. Is this perhaps already present in a newer systemd commit? Is there a registry for well-known aliases for package writers? With CentOS/RHEL/Fedora allowing multiple options for several packages through its alternatives system, this seems like a natural need.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux