Ummm.... those are NOT systemd scripts shipped by the upstream sendmail
developers. They ship sysvinit scripts, period. Which is my point.
Major upstream application developers do not seem to be jumping on
systemd. If anything, what I'm seeing are "oh sh&t, I guess we should
develop systemd service units at some point."
Miles Fidelman
Scott Ferguson wrote:
On 18/11/14 12:54, Miles Fidelman wrote:
<snipped> I left out sendmail, but I just checked, and
guess what, no systemd service file in upstream).
xy?
Did you try Google?
https://www.google.com/search?q=systemd+%2B%22sendmail.service%22&ie=utf-8&oe=utf-8&aq=t&&channel=sb
What do they know?
Miles Fidelman
e.g. sendmail.service:-
[Unit]
Description=Sendmail Mail Transport Agent
After=syslog.target network.target
[Service]
Environment=QUEUE=1h
EnvironmentFile=/etc/sysconfig/sendmail
Type=forking
ExecStart=/usr/sbin/sendmail -bd -q $QUEUE $SENDMAIL_OPTARG
[Install]
WantedBy=multi-user.target
Useful Refs:-
https://wiki.archlinux.org/index.php/sendmail#Start_on_boot
https://wiki.archlinux.org/index.php/Systemd/Timers
http://0pointer.de/blog/projects/systemd-for-admins-2.html
https://www.lisenet.com/2014/create-a-systemd-service-to-send-automatic-emails-when-arch-linux-restarts/
--
In theory, there is no difference between theory and practice.
In practice, there is. .... Yogi Berra
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/546ac5c7.9010...@meetinghouse.net