Re: [CentOS] server rebooted email

2020-11-19 Thread Tony Schreiner
On Thu, Nov 19, 2020 at 11:32 AM Oleg Cherkasov wrote: > On 19.11.2020 12:07, Kenneth Porter wrote: > > I used to put a line in rc.local to email root that my server rebooted. > > Does anyone have a nice systemd unit file to do the same? > > > > Also useful would be a shutdown email with the outp

Re: [CentOS] server rebooted email

2020-11-19 Thread Oleg Cherkasov
On 19.11.2020 12:07, Kenneth Porter wrote: I used to put a line in rc.local to email root that my server rebooted. Does anyone have a nice systemd unit file to do the same? Also useful would be a shutdown email with the output of uptime. (I usually do that manually when rebooting for a kernel

[CentOS] server rebooted email

2020-11-19 Thread Kenneth Porter
I used to put a line in rc.local to email root that my server rebooted. Does anyone have a nice systemd unit file to do the same? Also useful would be a shutdown email with the output of uptime. (I usually do that manually when rebooting for a kernel update.) _