This is on Centos7 on arm:

In my continuing journey to run a armv7 server with no battery clock, I have been strongly advised on the postfix list that it should NOT start until the system time is after the create time of the running version of postfix.

/usr/lib/systemd/system/postfix.service has:

Description=Postfix Mail Transport Agent
Conflicts=sendmail.service exim.service

ExecStart=/usr/sbin/postfix start
ExecReload=/usr/sbin/postfix reload
ExecStop=/usr/sbin/postfix stop


Adding chronyd.service to the After statement would only delay postfix until chronyd started, not until it set the time (and what if the network was down at startup time?).

How might I add a ExecStartPre clause that would delay postfix until the system time was right?


To unsubscribe email with "unsubscribe" in the subject. For help email with "help" in the subject.
Trouble?  Email

Reply via email to