On Wed, Aug 10, 2011 at 11:45:01AM +0200, Frederic Crozat wrote:
Le vendredi 05 août 2011 à 12:02 +0200, Dr. Werner Fink a écrit :
[Unit] Description=Local SMTP Socket DefaultDependencies=no
[Socket] ListenStream=25 BindToDevice=lo Accept=false Service=sendmail.service
IMHO this will only used if no process is listen on localhost port 25 or is this wrong? The manual pages of systemd do not show what happens is a port is already busy due an other way of enabling the MTA.
Indeed, the socket listening code is systemd will fail and it won't try to activate sendmail.service
I would probably use mail-transfer-agent.target for Service= in smtp-local.socket, to not tie smtp-local.socket to sendmail.service.
Systemd dose not like this. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org