mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
rss2email: Update to latest version, fix issues
This also enables multipart HTML and CSS in posts, improving readability for all client types.
This commit is contained in:
parent
e32a3a5228
commit
3422f39a84
@ -1,5 +1,5 @@
|
||||
FROM docker.io/debian:bullseye-slim
|
||||
ARG VERSION=4fa34da9fbfcaa5e5496b13c4bdd17362c383568
|
||||
ARG VERSION=v3.14
|
||||
|
||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||
ca-certificates git gettext gosu \
|
||||
|
@ -5,6 +5,8 @@ user-agent = rss2email/1.0
|
||||
use-publisher-email = True
|
||||
date-header = True
|
||||
html-mail = True
|
||||
multipart-html = True
|
||||
use-css = True
|
||||
post-process = rss2email.post_process.prettify process
|
||||
email-protocol = smtp
|
||||
smtp-auth = True
|
||||
|
@ -7,7 +7,7 @@ RemainAfterExit=true
|
||||
SyslogIdentifier=%N
|
||||
ExecStart=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && printf '[feed.%%s]\nurl = %I\n' $(md5sum <<< '%i' | cut -c-32) > $V/%i.conf"
|
||||
ExecStartPost=/bin/podman volume unmount rss2email-feeds
|
||||
ExecStop=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && rf -f $V/%i.conf"
|
||||
ExecStop=/bin/sh -c "V=$(podman volume mount rss2email-feeds) && rm -f $V/%i.conf"
|
||||
ExecStopPost=/bin/podman volume unmount rss2email-feeds
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user