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

16 lines
343 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
ExecStart=/usr/bin/docker-compose up
WorkingDirectory={{ renovate_dir }}