coreos-home-server/config/service/rss2email/systemd/rss2email.service
Alex Palaistras 14a53e567d rss2email: Add service for RSS feeds to email
This is a basic implementation on top of the venerable `rss2email`
script, and is intended to be driven by a timer and the
`rss2email-subscribe` service, which manages the subscribed feeds.
2021-09-26 17:30:37 +01:00

17 lines
521 B
Desktop File

[Unit]
Description=RSS Feed to Email
Wants=container-build@%N.service postfix.service
After=container-build@%N.service postfix.service
[Service]
Type=oneshot
SyslogIdentifier=%N
ExecStart=/bin/podman run --replace --name %N --net internal \
--env-file %E/coreos-home-server/%N/%N.env \
--volume %N-feeds:/etc/%N/conf.d:z,ro \
--volume %N:/var/lib/%N:z \
localhost/%N:latest run
[Install]
WantedBy=multi-user.target