Robert Kaussow
d58e54dc2f
All checks were successful
continuous-integration/drone/push Build is passing
20 lines
482 B
Django/Jinja
20 lines
482 B
Django/Jinja
#jinja2:lstrip_blocks: True
|
|
{{ ansible_managed | comment }}
|
|
[Unit]
|
|
Description=Drone CI compose service
|
|
Requires=docker.service
|
|
After=docker.service
|
|
|
|
[Service]
|
|
Restart={{ droneci_restart_policy }}
|
|
WorkingDirectory={{ droneci_service_directory }}
|
|
|
|
ExecStartPre={{ droneci_docker_compose_bin }} down
|
|
ExecStartPre={{ droneci_docker_compose_bin }} rm -f
|
|
|
|
ExecStart={{ droneci_docker_compose_bin }} up
|
|
ExecStop={{ droneci_docker_compose_bin }} down
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|