The systemd service these days doesn't use a pidfile at all anymore. It uses "normal" systemd handling of a single process service which will poulate $MAINPID that can be referenced from associated systemd services.
You can fetch those via: systemctl show -p MainPID clamav-daemon Actually it was that way in Xenial already and I'm not sure how much that is an issue to SRU to trusty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1624262 Title: clamav unable to create pid file using systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1624262/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs