David Sommerseth schreef op 31-05-2017 18:28:

As you use systemctl, that implies systemd.  Then that hack is truly
ugly compared to what systemd provides.

You know David,

I just tried to use a simple Path file for something and then a simple Unit file (Service file) with systemd to send an email when that happened.

Fine, I didn't use any built-in email facility.

I used:

/bin/sh -c 'echo | /usr/bin/mail -s subject root'

And that simply didn't work.
The command worked from the shell, and the command works from a cron job.
But the command doesn't work from systemd.

It's systemd that's really ugly.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to