How to configure systemd to send alert mail on shutdown and boot up?

Solution In Progress - Updated -

Issue

  • How to get alert mail on system shutdown and boot up?
  • How to get alert mail when server reboot?

Environment

  • Redhat Enterprise Linux 7
  • Systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content