Where did /etc/init.d/dovecot go in 14.04?

Ok so after going through dovecot's wiki (version 2), it seems that we can restart/reload/stop dovecot by using:

For root:

# doveadm reload - to restart/reload dovecat

# doveadm stop - to stop dovecat

For sudo users:

# sudo doveadm reload - to restart/reload dovecat

# sudo doveadm stop - to stop dovecat

You can just type doveadm / sudo doveadm to see a list of other commands you can use with doveadm too.


Thanks to @douggro for the reminder! I actually did sudo service --status-all but dovecot wasn't on the list, and then sudo service dovecot returns dovecot: unrecognized service, which made me believe dovecot wasn't converted to a service yet. So I never thought of actually trying with restart.


When the old services are converted from init.d to the upstart, service status xxxx returns service unrecognized. Instead please use servicename status

The coexistence of upstart and init.d is confusing, so in Vivid and later releases it is replaced with systemd

The current state in 14.04 is confusing and creating some issues when monitoring things as well, at least with my experience.

Tags:

14.04

Dovecot