mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
17 lines
521 B
SYSTEMD
17 lines
521 B
SYSTEMD
|
[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
|