mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
f367141361
RSpamd doesn't have `systemd-notify` support, so we're forced to use plain ol' conmon notify support instead.
18 lines
411 B
Plaintext
18 lines
411 B
Plaintext
[Unit]
|
|
Description=RSpamd Spam Filtering System
|
|
Wants=container-build@%N.service container-volume@%N.service redis.service
|
|
After=container-build@%N.service container-volume@%N.service redis.service
|
|
|
|
[Container]
|
|
ContainerName=%N
|
|
EnvironmentFile=%E/coreos-home-server/%N/%N.env
|
|
Image=localhost/%N:latest
|
|
Network=internal
|
|
Volume=%N:/var/lib/%N:z
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|