Markus Pesch
51c34a6de9
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
477 B
Django/Jinja
18 lines
477 B
Django/Jinja
#
|
|
# {{ 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
|
|
ExecStart={{ renovate_docker_compose_bin }} up
|
|
ExecStop={{ renovate_docker_compose_bin }} down --volumes
|
|
ExecPostStop=/bin/rm --recursive --force {{ renovate_cache_dir }}
|
|
WorkingDirectory={{ renovate_dir }} |