refactor systemd unit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-11-24 23:23:22 +01:00
parent 7afd499dfd
commit 8df90ebbfa

View File

@ -9,11 +9,12 @@ After=docker.service
Restart={{ droneci_restart_policy }} Restart={{ droneci_restart_policy }}
WorkingDirectory={{ droneci_service_directory }} WorkingDirectory={{ droneci_service_directory }}
ExecStartPre={{ droneci_docker_compose_bin }} down ExecStartPre={{ ttrss_docker_compose_bin }} pull --quiet --ignore-pull-failures
ExecStartPre={{ droneci_docker_compose_bin }} rm -f ExecStart={{ ttrss_docker_compose_bin }} up --remove-orphans
ExecStart={{ droneci_docker_compose_bin }} up ExecStop={{ ttrss_docker_compose_bin }} down --remove-orphans
ExecStop={{ droneci_docker_compose_bin }} down
ExecReload={{ ttrss_docker_compose_bin }} pull --quiet --ignore-pull-failures
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target