Re: logrotate options?

Peter Pentchev <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
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

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmHpLfgACgkQZR7vsCUn
3xP1shAAkxJyqT2X2iMnoWDWNTlnLM/BpQsdwjVp3MBw4F0iKl0sqHdPpURw5VS+
fjFkmT7VjJAq5gPaWb+NIV3EPMrAJQkJe06ntJosg7fSJEJEjWOt3qZIYf4JLZG6
Xg4p2j2RmXUr3f8ymU37UTNkuupW9tlDjnJfgtBSYa5SnqWDWLRjlFOwNncVFGH5
TzSIH21pMHWu5RaPg5eRjoX0ad7sSnrA5bV0f45qxW6OLZGO6u1aE+KlSd4oOACX
L+JKkB5syEzNx4zI2iFJKYxV1vcc9DKtG8jBN34iG59seS9yf+QtCU+FoZj+S2vJ
SicV9V7GBqI7GC37wWGMWcqIP8UMcqRqfEK/Hw/LkT4ZXvkD/c3OO2M9jseZeKeR
X8Fz8FL2asYwZalbSTvx2ODYu/HfeVQ57nEq2unnjgJ7MiQo98nf9EsZS4rHztGM
U1V2zgTiqHj7DP2I39NqZmxicP6Q2YnhCnG1lXSNKjROjNSiTLt9UHnTlNKtGTsm
0+g1G36DMJPGNndq15KZISqt7B9cek0tbBlWbd5FPXG2c1Id3B/9y94kmVmPc1hY
EUVyqMwwHCYknsy5cFOpCdbBPhOhrncYabS3FvRrwSjMhKlTuEkl94OyplLh8wB2
nvgfzdkKW9fs6qptDlchuMWRM5t802MIq9RSLJin7npd1qny3Dg=
=qKt0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.