From 27ae97425280c5d9a9069625401f44f2908af1e6 Mon Sep 17 00:00:00 2001 From: meisterfischy Date: Tue, 16 Aug 2022 13:55:20 +0200 Subject: Fixed Calibreweb The pip package is now installed as the local calibre user, so that the webinterface updater (hopefully) works. --- roles/calibre/templates/cps.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/calibre/templates/cps.service.j2') 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 %} -- cgit v1.2.3