Hi, have you try

/etc/init.d/fetchmail stop

?

Cheers,
Jerome

On 28/12/2024 17:21, Roger Price wrote:
I would like to stop fetchmail on Debian 11.  I tried command systemctl stop 
fetchmail and system status fetchmail reported

  ● fetchmail.service - LSB: init-Script for system wide fetchmail daemon
      Loaded: loaded (/etc/init.d/fetchmail; generated)
      Active: inactive (dead) since Sat 2024-12-28 10:37:58 CET; 6h ago
        Docs: man:systemd-sysv-generator(8)
     Process: 1250 ExecStart=/etc/init.d/fetchmail start (code=exited, 
status=0/SUCCESS)
     Process: 1199929 ExecStop=/etc/init.d/fetchmail stop (code=exited, 
status=0/SUCCESS)
       Tasks: 1 (limit: 57750)
      Memory: 1.9M
         CPU: 6min 33.392s
      CGroup: /system.slice/fetchmail.service
              └─1264 /usr/bin/fetchmail -f /etc/fetchmarc
                     --pidfile /var/run/fetchmail/fetchmail.pid --syslog
  ...
  Dec 28 17:06:54 titan fetchmail[1264]: reading message
                                         
mail...@rogerprice.org@mail.gandi.net:1 of 1 (9321 octets) flushed

It's dead, but still fetching mail! I tried

  root@titan ~ /etc/init.d/fetchmail --quit
  Not starting fetchmail daemon, disabled via /etc/default/fetchmail.

but fetchmail goes on fetching mail.  What is the correct way of stopping 
fetchmail?

Roger

Reply via email to