Summary: | mail-filter/rspamd-1.3.5: version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kilburn Abrahams <kilburna> |
Component: | Current packages | Assignee: | Dirkjan Ochtman (RETIRED) <djc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/vstakhov/rspamd/releases/tag/1.3.5 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kilburn Abrahams
2016-09-07 05:42:02 UTC
rspamd-1.3.4 started to support reload: "It is now possible to gracefully reload Rspamd configuration by sending HUP signal or by using reload subcommand for the init scripts" it could be good to add it to init script. About reload: /etc/init.d/rspamd reload * rspamd: function `reload' defined but does not exist Logrotate doesn't work because: # service rspamd reopenlog * rspamd: unknown function `reopenlog' For reload, rspamd does not require SIGHUP (which reloads the configuraition). You can send a SIGUSR1: /var/log/rspamd/rspamd.log { daily rotate 4 delaycompress compress notifempty missingok postrotate test -r /run/rspamd/rspamd.pid && kill -USR1 $(< /run/rspamd/rspamd.pid) &>/dev/null endscript } And yes, please bump version :-) Bumped, and added a reload command to the init script. For further work on logrotate, please file another bug, with patch please. Also, we'll need to make sure that it works generically, for both systemd and openrc. |