AUR (en) - fetchmail
--syslog is not required. As anything printed on stderr will automatically go to journald logs. Or if you still want it then you add "set syslog" in /etc/fetchmailrc
Agree to removing "-d 900".
Also in fetchmail.sysusers file - please remove hardcoded number 90 as UID. As Arch is slowly avoiding to have fixed UID assigned to user.
Use z option of tmpfiles.d to change ownership and mode of /var/lib/fetchmail and /etc/fetchmailrc... But I am not sure if it should be done or not.
hey why not add --syslog fetchmail arg to the .service ExecStart, so that journald logs it?
Also, how about omit the -d 900 arg, and instead have set daemon 900 in /etc/fetchmailrc, so that people can change the polling interval without overriding the .service file?
Lastly, could chown fetchmail.fetchmail /var/lib/fetchmail /etc/fetchmailrc; chmod 600 /etc/fetchmailrc be done on install? Otherwise fetchmail refuses to start saying the executing user must own the config file and the .pid file can't be created
And thanks for maintaining this!!