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 }}
WorkingDirectory={{ droneci_service_directory }}
ExecStartPre={{ droneci_docker_compose_bin }} down
ExecStartPre={{ droneci_docker_compose_bin }} rm -f
ExecStartPre={{ ttrss_docker_compose_bin }} pull --quiet --ignore-pull-failures
ExecStart={{ ttrss_docker_compose_bin }} up --remove-orphans
ExecStart={{ droneci_docker_compose_bin }} up
ExecStop={{ droneci_docker_compose_bin }} down
ExecStop={{ ttrss_docker_compose_bin }} down --remove-orphans
ExecReload={{ ttrss_docker_compose_bin }} pull --quiet --ignore-pull-failures
[Install]
WantedBy=multi-user.target