Rspamd stop rc script doesn't work in OpenBSD 6.6. 1. Fresh OpenBSD 6.6 installation 2. pkg_add rspamd 3. rcctl start rspamd
Works.
4. rcctl stop rspamd timeouts
Looking at rspamd logs, it looks like it doesn not work
well with SIGTERM. It waits for workers.
Currently I work around it by adding custom rc_stop():
rc_stop() {
pkill -KILL -T "${daemon_rtable}" -xf "${pexp}"
pkill -KILL -u _rspamd
}
Anybody can confirm if this is a problem?
