xoxys.freshrss_docker/templates/etc/systemd/system/freshrss.service.j2
Robert Kaussow 21533abfe2
All checks were successful
continuous-integration/drone/push Build is passing
fix wrong systemd description
2020-02-01 17:54:40 +01:00

23 lines
660 B
Django/Jinja

#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
[Unit]
Description=FreshRSS feed aggregator
Requires=docker.service network-online.target
After=docker.service network-online.target
[Service]
WorkingDirectory={{ freshrss_service_directory }}
Type=simple
TimeoutStartSec=15min
Restart={{ freshrss_restart_policy }}
ExecStartPre={{ freshrss_docker_compose_bin }} pull --quiet --ignore-pull-failures
ExecStart={{ freshrss_docker_compose_bin }} up --remove-orphans
ExecStop={{ freshrss_docker_compose_bin }} down --remove-orphans
ExecReload={{ freshrss_docker_compose_bin }} pull --quiet --ignore-pull-failures
[Install]
WantedBy=multi-user.target