Hello there, I am really enjoying using Calibre 3.0: keep up the great work!
I am trying to run calibre-server through systemd (Ubuntu 16.04 and Apache2). I have created a couple of users using:
Quote:
calibre-server --manage-users
|
I can manually start calibre-server by using:
Quote:
calibre-server --url-prefix /calibre --port=8080 --enable-auth /path_to_library
|
However I do need to ensure that /path_to_library is owned by me and not root nor www-data. Calibre will then function with no issues.
If I try to run it through systemd, however, it continually asks for login details and I cannot get through to the library.
This is my file:
Quote:
#/lib/systemd/system/calibre.service
[Unit]
Description=Calibre Service
After=network.target
[Service]
Type=simple
PIDFile=/var/run/calibre-server.pid
ExecStart=/usr/bin/calibre-server \
--max-opds-items=30 \
--max-opds-ungrouped-items=100 \
--url-prefix /calibre \
--port=8080 \
--pidfile=/var/run/calibre-server.pid \
--enable-auth \
--log=calibre.log
/path_to_library
[Install]
WantedBy=multi-user.target
|
If I run it as --disable-auth it works fine, but without password protection!
Is there anything I am doing wrong?