ansible-role-renovate/templates/etc/systemd/system/renovate.service.j2
Markus Pesch 4ca7918107
All checks were successful
continuous-integration/drone/push Build is passing
fix: adapt systemd service: remove start post
2023-02-11 16:02:41 +01:00

17 lines
411 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
WorkingDirectory={{ renovate_dir }}