I have compiled EXIM from source and am trying to get it to run as a service on Centos 7. I created my own exim.service file.  The EXIM process starts when I run systemctl start exim but systemd believes it times out. It does write the PID file correctly. Everyone has read permissions on the PID file.Thanks!Here is the exim.service file:[Unit]Description=Exim[Service]Type=forkingPIDFile=/apps/exim/spool/exim-daemon.pidExecStart=/apps/exim/exim -bd -q15m[Install]WantedBy=multi-user.targetAnd here is the output from systemctl status exim:Jan 08 10:54:49 smtp2 systemd[1]: exim.service operation timed out. Terminating.Jan 08 10:54:49 smtp2 systemd[1]: Failed to start Exim.
Exim Systemd Service Times out
centos;systemd;exim
This may or may not help but here is the standard exim.service file from CentOS 7 when install Exim from the repositories;[Unit]Description=Exim Mail Transport AgentAfter=network.targetConflicts=sendmail.service postfix.service[Service]PrivateTmp=trueEnvironment=QUEUE=1hEnvironmentFile=-/etc/sysconfig/eximExecStartPre=-/usr/libexec/exim-gen-certExecStart=/usr/sbin/exim -bd -q${QUEUE}[Install]WantedBy=multi-user.targetThat starts fine for me, as I say just installing from the repository. It already looks pretty much the same as yours but may I suggest copying that and attempting to start exim with that in place to see if that works. If it doesn't then it may be that your installation of exim hasn't worked as expected?