aboutsummaryrefslogtreecommitdiff
path: root/roles/calibre/templates
diff options
context:
space:
mode:
authorGravatar meisterfischy <grbmn@kstn.in> 2022-08-16 13:55:20 +0200
committerGravatar meisterfischy <grbmn@kstn.in> 2022-08-16 13:55:20 +0200
commit27ae97425280c5d9a9069625401f44f2908af1e6 (patch)
treedbbe6883433a1e71480415777ee427438f78ec4d /roles/calibre/templates
parent216bc43ef7a270925ac597806c06030354ba9149 (diff)
downloadansible_collection-27ae97425280c5d9a9069625401f44f2908af1e6.tar.gz
Fixed Calibreweb
The pip package is now installed as the local calibre user, so that the webinterface updater (hopefully) works.
Diffstat (limited to 'roles/calibre/templates')
-rw-r--r--roles/calibre/templates/cps.service.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/calibre/templates/cps.service.j2 b/roles/calibre/templates/cps.service.j2
index 005297d..98e58c2 100644
--- a/roles/calibre/templates/cps.service.j2
+++ b/roles/calibre/templates/cps.service.j2
@@ -5,7 +5,7 @@ Description=Calibre-Web
Type=simple
User=calibre
{% if ssl == true %}
-ExecStart=/usr/local/bin/cps -c '/etc/ssl/certs/{{ ansible_facts.fqdn }}.pem' -k '/etc/ssl/private/{{ ansible_facts.fqdn }}.key'
+ExecStart=/opt/calibre/.local/bin/cps -c '/etc/ssl/certs/{{ ansible_facts.fqdn }}.pem' -k '/etc/ssl/private/{{ ansible_facts.fqdn }}.key'
{% else %}
ExecStart=/usr/local/bin/cps
{% endif %}