You are not logged in.
After switching to systemd I am facing a problem when postfix, dovecot and other services which rely on DNS lookups do not start.
I tried to create an additional service file to add the order of the units, but unfortunately this method failed.
$ cat /etc/systemd/system/dovecot.service
.include /usr/lib/systemd/system/dovecot.service
[Unit]
After=local-fs.target dnsmasq.serviceI suppose, this is due the fact that dnsmasq is not ready immediately after the start but rather continues its initialization in the background and systemd cannot track its state of readiness after the daemon is forked.
I wonder if there is a way to check if the dnsmasq is really ready and start other services after that?
Offline