[Dovecot] Start dovecot at boot.

Gert Brinkmann g111 at netcologne.de
Wed Feb 14 13:28:41 UTC 2007


Ivan Arteaga wrote:
> I recently installed dovecot 1.0rc15 on centos, installation went fine, it
> installed under /usr/local/ but I cannot start the dovecot service
> automatically.

Take a look to the start/stop-Scripts in /etc/init.d/. Take one of these
(maybe "atd" or whatever is installed) and copy it to "dovecot". Such a
script is simple to understand normally, so you can edit it to
start/stop your manually installed dovecot easily. (Maybe there comes
such a script within the dovecot-tarball? I am using the deb-package
that is included in debian/sid that does set up everything automatically.)

Then you need to place symlinks to the runlevels to start/stop the
daemon. Here on a debian-system there are:

/etc/rc0.d/K21dovecot -> ../init.d/dovecot
/etc/rc1.d/K21dovecot -> ../init.d/dovecot
/etc/rc2.d/S21dovecot -> ../init.d/dovecot
/etc/rc3.d/S21dovecot -> ../init.d/dovecot
/etc/rc4.d/S21dovecot -> ../init.d/dovecot
/etc/rc5.d/S21dovecot -> ../init.d/dovecot
/etc/rc6.d/K21dovecot -> ../init.d/dovecot

Maybe this helps?

Gert


More information about the dovecot mailing list