ansible-role-renovate/templates/etc/systemd/system/renovate.service.j2

18 lines
477 B
Plaintext
Raw Normal View History

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 12:16:46 +00:00
ExecStop={{ renovate_docker_compose_bin }} down --volumes
2023-07-31 09:37:22 +00:00
ExecPostStop=/bin/rm --recursive --force {{ renovate_cache_dir }}
2022-04-27 16:55:07 +00:00
WorkingDirectory={{ renovate_dir }}