2022-04-27 16:55:07 +00:00
|
|
|
#
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
#
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Service to start renovate
|
|
|
|
Requires=docker.service network-online.target
|
|
|
|
After=docker.service network-online.target
|
|
|
|
{% if renovate_systemd_status_email %}
|
|
|
|
OnFailure=status-email@%n.service
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2022-05-11 12:07:20 +00:00
|
|
|
ExecStart={{ renovate_docker_compose_bin }} up
|
2022-05-17 14:08:45 +00:00
|
|
|
ExecStartPost={{ renovate_docker_compose_bin }} down --volumes
|
2022-05-17 12:16:46 +00:00
|
|
|
ExecStop={{ renovate_docker_compose_bin }} down --volumes
|
2022-04-27 16:55:07 +00:00
|
|
|
WorkingDirectory={{ renovate_dir }}
|