coreos-home-server/config/service/rss2email/systemd/rss2email.service
Alex Palaistras 290068e759 Misc fixes for Navidrome, RSS2Email
These fix issues with permissions and left-over Podman containers for
one-off invocations.
2021-11-27 17:43:22 +00:00

17 lines
526 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 --rm --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