Is there a fetchmail.timer unit as well as a .service unit? Or, could
you have a crontab entry that is invoking it?
--
Please do not CC me for listmail.
👱🏻 Jonathan Dowland
✎j...@debian.org
🔗 https://jmtd.net
On 2024-12-28, Roger Price wrote:
>
> The process was alive for three months until I typed systemctl stop
> fetchmail. 6
> hours later I typed systemctl status fetchmail and systemd told me that the
> still running process had been "dead" for 6 hours.
I think fetchmail is both old and deprecat
On 2024-12-28 19:08, Greg Wooledge wrote:
Perhaps there's a cron job that starts it.
I use getmail with various getmailrc files started by cron.
Perhaps OP did that with fetchmail and forgot.
crontab -e would show
mick
On 29/12/2024 10:18, John Hasler wrote:
On Unstable:
toncho/~ 20 systemctl cat fetchmail.service
# /run/systemd/generator.late/fetchmail.service
^
# Automatically generated by systemd-sysv-generator
^
[...]
[Service]
Type=forking
Re
On Sun, Dec 29, 2024 at 22:44:56 +0700, Max Nikulin wrote:
> John posted content of the service file *generated* for SysV init script.
A. I missed that context.
On 29/12/2024 20:50, Andy Smith wrote:
On Sun, Dec 29, 2024 at 02:16:42PM +0100, poc...@homemail.com wrote:
https://gitlab.archlinux.org/archlinux/packaging/packages/fetchmail
What is your point? There is a native systemd service unit for fetchmail
in the next release of Debian. Your constant
Hi,
On Sun, Dec 29, 2024 at 09:29:58AM -0500, Greg Wooledge wrote:
> On Sun, Dec 29, 2024 at 13:50:56 +, Andy Smith wrote:
> > On Sun, Dec 29, 2024 at 02:16:42PM +0100, poc...@homemail.com wrote:
> > > https://gitlab.archlinux.org/archlinux/packaging/packages/fetchmail
> >
> > What is your po
On Sun, Dec 29, 2024 at 09:50:31 +0100, Roger Price wrote:
> On Debian 12 the command systemctl status fetchmail now has a "CGroup" entry:
>
> ● fetchmail.service - LSB: init-Script for system wide fetchmail daemon
> Loaded: loaded (/etc/init.d/fetchmail; generated)
> Active: active (run
On Sun, Dec 29, 2024 at 13:50:56 +, Andy Smith wrote:
> Hello,
>
> On Sun, Dec 29, 2024 at 02:16:42PM +0100, poc...@homemail.com wrote:
> > https://gitlab.archlinux.org/archlinux/packaging/packages/fetchmail
>
> What is your point? There is a native systemd service unit for fetchmail
> in the
Hello,
On Sun, Dec 29, 2024 at 02:16:42PM +0100, poc...@homemail.com wrote:
> https://gitlab.archlinux.org/archlinux/packaging/packages/fetchmail
What is your point? There is a native systemd service unit for fetchmail
in the next release of Debian. Your constant off-topic proselytizing of
Arch h
poc...@homemail.com (12024-12-29):
> ExecStart=/usr/bin/fetchmail --pidfile /run/fetchmail/fetchmailrc.pid -f
> /etc/fetchmailrc
Debian uses --nodetach, which is a much better use of modern service
monitoring.
Regards,
--
Nicolas George
> Sent: Saturday, December 28, 2024 at 10:18 PM
> From: "John Hasler"
> To: debian-user@lists.debian.org
> Subject: Re: Correct way to stop fetchmail
>
> On Unstable:
>
> toncho/~ 20 systemctl cat fetchmail.service
> # /run/systemd/generator.late/fetchmai
On Sun, 29 Dec 2024, Michael wrote:
then make sure you run
systemctl disable fetchmail.service
otherwise it will start again at next boot.
Here is what happened when i tried "disable" on this Debian 11 machine.
root@titan ~ systemctl disable fetchmail
fetchmail.service is not a native service
On Sun, 29 Dec 2024, Michael wrote:
On Saturday, December 28, 2024 6:56:09 PM CET, Roger Price wrote:
And the fetchma+ process disappeared - I hope it no longer rises from the
dead.
then make sure you run
systemctl disable fetchmail.service
otherwise it will start again at next boot.
In /et
On Sunday, December 29, 2024 11:30:30 AM CET, Roger Price wrote:
On Sun, 29 Dec 2024, Michael wrote:
I assume this also prevents fetchmail from restarting.
correct, as long as the init script is called by systemd and nothing
changes in said script.
to disable the service prevents it from be
On Saturday, December 28, 2024 6:56:09 PM CET, Roger Price wrote:
And the fetchma+ process disappeared - I hope it no longer
rises from the dead.
then make sure you run
systemctl disable fetchmail.service
otherwise it will start again at next boot.
greetings...
On Sun, 29 Dec 2024, Max Nikulin wrote:
Commands that might help to discover what actually happened
journalctl -u fetchmail.service
Dec 28 10:37:58 titan systemd[1]: Stopping LSB: init-Script for system wide
fetchmail daemon...
Dec 28 10:37:58 titan fetch
On Unstable:
toncho/~ 20 systemctl cat fetchmail.service
# /run/systemd/generator.late/fetchmail.service
# Automatically generated by systemd-sysv-generator
[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/fetchmail
Description=LSB: init-Script for system wide fetchmail d
On Sun, Dec 29, 2024 at 09:40:44 +0700, Max Nikulin wrote:
> On 28/12/2024 23:47, Greg Wooledge wrote:
> > On Sat, Dec 28, 2024 at 17:21:08 +0100, Roger Price wrote:
> > > root@titan ~ /etc/init.d/fetchmail --quit
> > > Not starting fetchmail daemon, disabled via /etc/default/fetchmail.
> >
>
On 28/12/2024 23:47, Greg Wooledge wrote:
On Sat, Dec 28, 2024 at 17:21:08 +0100, Roger Price wrote:
root@titan ~ /etc/init.d/fetchmail --quit
Not starting fetchmail daemon, disabled via /etc/default/fetchmail.
The correct way to use a legacy sysv-rc init.d script to stop a service
is:
On Sat, Dec 28, 2024 at 22:59:19 +0100, Nicolas George wrote:
> Roger Price (12024-12-28):
> > ● 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 a
Roger Price (12024-12-28):
> ● 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 Ex
On Sat, 28 Dec 2024, Greg Wooledge wrote:
On Sat, Dec 28, 2024 at 11:36:44 -0700, Charles Curley wrote:
On Sat, 28 Dec 2024 17:21:08 +0100 (CET)
Roger Price wrote:
but fetchmail goes on fetching mail. What is the correct way of
stopping fetchmail?
Perhaps there is a fetchmail.timer unit t
On Sat, Dec 28, 2024 at 18:56:09 +0100, Roger Price wrote:
> I tried 4 times. then I tried
>
> /etc/init.d/fetchmail stop
>
> but although dead for 6 hours, fetchmail continued to fetch mails.
> So I tried
>
> root@titan ~ ps -ef | grep fetch
> fetchma+1264 1 0 Sep25 ?00:06
On Sat, Dec 28, 2024 at 11:36:44 -0700, Charles Curley wrote:
> On Sat, 28 Dec 2024 17:21:08 +0100 (CET)
> Roger Price wrote:
>
> > but fetchmail goes on fetching mail. What is the correct way of
> > stopping fetchmail?
>
> Perhaps there is a fetchmail.timer unit that is starting up
> fetchmail
On Sat, 28 Dec 2024 17:21:08 +0100 (CET)
Roger Price wrote:
> but fetchmail goes on fetching mail. What is the correct way of
> stopping fetchmail?
Perhaps there is a fetchmail.timer unit that is starting up
fetchmail.service from time to time?
systemctl status fetchmail.timer
You might also
Thanks for your replies. I tried
systemctl stop fetchmail.service
I tried 4 times. then I tried
/etc/init.d/fetchmail stop
but although dead for 6 hours, fetchmail continued to fetch mails.
So I tried
root@titan ~ ps -ef | grep fetch
fetchma+1264 1 0 Sep25 ?00:06:33 /u
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
On Sat, Dec 28, 2024 at 17:21:08 +0100, Roger Price wrote:
> ● fetchmail.service - LSB: init-Script for system wide fetchmail daemon
The correct way to stop a systemd service whose name you know is:
systemctl stop fetchmail.service
If you're entirely new to systemd, you can get by with:
29 matches
Mail list logo