23 lines
677 B
Plaintext
23 lines
677 B
Plaintext
|
#jinja2:lstrip_blocks: True
|
||
|
{{ ansible_managed | comment }}
|
||
|
[Unit]
|
||
|
Description=TT-RSS news feed reader
|
||
|
Requires=docker.service network-online.target
|
||
|
After=docker.service network-online.target
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory={{ bitwardenrs_service_directory }}
|
||
|
Type=simple
|
||
|
TimeoutStartSec=15min
|
||
|
Restart={{ bitwardenrs_restart_policy }}
|
||
|
|
||
|
ExecStartPre={{ bitwardenrs_docker_compose_bin }} pull --quiet --ignore-pull-failures
|
||
|
ExecStart={{ bitwardenrs_docker_compose_bin }} up --remove-orphans
|
||
|
|
||
|
ExecStop={{ bitwardenrs_docker_compose_bin }} down --remove-orphans
|
||
|
|
||
|
ExecReload={{ bitwardenrs_docker_compose_bin }} pull --quiet --ignore-pull-failures
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|