logrotate config file kills clamav-milter
Task Info (Flyspray) | |
---|---|
Opened By | Filip (mezcal) |
Task ID | 60959 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2018-12-03 11:27:25 UTC |
Status | Assigned |
Assignee | Levente Polyak (anthraxx) |
Details
Description:
Every logrotating kills clamav-milter daemon and doesn`t start it again.
In the file /etc/logrotate.d/clamav there is a line:
"/bin/kill -HUP cat /run/clamav/clamav-milter.pid 2>/dev/null
2> /dev/null || true"
To use clamav-milter I have created my own clamav-milter service file: [Unit] Description='ClamAV Milter' After=clamav-daemon.service
[Service] Type=forking ExecStart=/usr/bin/clamav-milter --config-file /etc/clamav/clamav-milter.conf
[Install] WantedBy=multi-user.target
Additional info: package version: 0.100.2-2