systemd / active (exited)
Tom H
tomh0665 at gmail.com
Sun Sep 1 22:36:16 UTC 2019
On Sat, Aug 31, 2019 at 12:35 PM Helmut Schneider <jumper99 at gmx.de> wrote:
> Tom H wrote:
>>
>> Does running this manually
>>
>> chroot --userspec amavis:amavis /var/amavis /usr/sbin/clamd
>> --config-file /etc/clamav/clamd.conf
>>
>> work?
>
> Yes, the whole init script runs fine but if the daemon dies for
> some reason systemd still happily reports "active". I use puppet
> and it does then not see a reason to restart clamd.
>
> I have to run
>
> sudo /etc/init.d/clamav-daemon-chroot stop
>
> in that case.
It's probably the chroot via a sysvrc script that's confusing systemd.
You can check what systemd thinks that it's supervising with
"systemctl show -p MainPID clamav-daemon-chroot.service".
More information about the ubuntu-users
mailing list