systemd / active (exited)

Colin Watson cjwatson at ubuntu.com
Mon Sep 2 11:57:31 UTC 2019


On Mon, Sep 02, 2019 at 11:19:04AM -0000, Helmut Schneider wrote:
> helmut at h2786452:~$ sudo systemctl show -p MainPID
> clamav-daemon-chroot.service
> MainPID=0
> helmut at h2786452:~$ pgrep clamd
> 3353
> helmut at h2786452:~$
> 
> Any way to control MainPID?

See my reply elsewhere in this thread suggesting switching to a native
systemd service for this.  You aren't likely to have a good time trying
to fix this with systemd-sysv-generator based on an init script.  (It
might be possible to do something with a drop-in file that sets
PIDFile=, but you're going to be layering more complexity on top of
something you already don't understand.)

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list