Mike Kazantsev
2011-Feb-18 12:22 UTC
[Dovecot] [PATCH] Add Install section to dovecot.service, so it can be used independently from dovecot.socket
Good day, Dovecot includes nice unit files for systemd, but I've noticed that "systemctl enable dovecot.service" fails because service file does not include Install section. I assume that is because there's a .socket file, but there might be reasons when you want to enable it as a service. In my case it's one of the main services on the machine, so I'd like to see whether it's started correctly in systemctl after boot. And of course I don't want it to be killed due to "no connections timeout" at any given time. Plus, it provides authentication info for postfix daemon running on the same machine, and dovecot.socket does not handle this case. Following patch allows dovecot.service to be enabled via usual systemctl command.
Timo Sirainen
2011-Feb-22 09:15 UTC
[Dovecot] [PATCH] Add Install section to dovecot.service, so it can be used independently from dovecot.socket
On Fri, 2011-02-18 at 17:22 +0500, Mike Kazantsev wrote:> Following patch allows dovecot.service to be enabled via usual > systemctl command.Committed.
Maybe Matching Threads
- Reproducible kernel (2.6.36) oops with several simultaneus btrfs mounts
- iptables.service listed as: not-found inactive dead
- Running amanda on CentOS 7: "amanda-udp.service failed."
- Tinc no start as service
- CentOS 7: firewalld.service operation time out - systemctl firewalld issues