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

17 lines
355 B
Plaintext
Raw Permalink 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
ExecStart=/usr/local/bin/start-renovate.sh
ExecStop=/usr/local/bin/stop-renovate.sh