Re: logrotate options?
"Carlos E. R." <[email protected]>
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Message-ID | <[email protected]> |
On 21/01/2022 01.17, Joe Acquisto-j4 wrote: >> On Thu, Jan 20, 2022 at 11:34:26AM +0200, Peter Pentchev wrote: >> [snip] >>> directory if necessary). Something like this works for me (note that >>> I do not have a logfile directive in my fetchmail config file, so >>> it will send its output to the standard output stream by default): >>> >>> [roam@straylight ~]$ cat ~/.config/systemd/user/fetchmail.service >>> [Unit] >>> Description=Run fetchmail in daemon mode. >>> Documentation=man:fetchmail(1) >>> After=network-online.target >>> Wants=network-online.target >>> >>> [Service] >>> Type=simple >>> ExecStartPre=-fetchmail -ve200 >>> ExecStart=fetchmail -ve25 -Nd120 >>> ExecStop=fetchmail --quit >>> KillMode=process >> >> ...and of course, I forgot two lines that are kind of important: >> >> [Install] >> WantedBy=default.target > Wow. Thanks for the most detailed and understandable descriptions of the workings > I have yet seen, > > Remains to be seen if I can muster what it take to implement it. Please remember that as you are using openSUSE, the system already has fetchmail.service installed. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.3 x86_64 (Erebor-4)) _______________________________________________ Fetchmail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fetchmail-users
OpenPGP_signature
(application/pgp-signature, 236 B) - not displayed