Quote:
Originally Posted by yourrable
|
Thank you for pointing me in right direction, yourrable.
Strangely I'm experiencing more problems. I simply can't start calibre server. Here's the error
Code:
user@xxx:~$ sudo systemctl status calibre.service
● calibre.service - Calibre Service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Dec 24 09:30:39 xxx systemd[1]: [/lib/systemd/system/calibre.service:12] Unknown lvalue '--max-opds-ungrouped-items' in section 'Se
Dec 24 09:30:39 xxx systemd[1]: [/lib/systemd/system/calibre.service:13] Unknown lvalue '--port 8283 --log' in section 'Service'
Dec 24 09:30:39 xxx systemd[1]: [/lib/systemd/system/calibre.service:14] Missing '='.
Dec 24 09:31:35 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Unknown lvalue '--max-opds-items' in section 'Service'
Dec 24 09:31:35 xxx systemd[1]: [/lib/systemd/system/calibre.service:12] Missing '='.
Dec 24 09:41:15 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Unknown lvalue '--max-opds-items' in section 'Service'
Dec 24 09:41:15 xxx systemd[1]: [/lib/systemd/system/calibre.service:12] Unknown lvalue '--max-opds-ungrouped-items' in section 'Se
Dec 24 09:41:15 xxx systemd[1]: [/lib/systemd/system/calibre.service:13] Missing '='.
Dec 24 09:50:38 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Missing '='.
Dec 24 09:50:38 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Missing '='.
My configuration is as follow
Code:
[Unit]
Description=Calibre Service
After=network.target
[Service]
Type=simple
User=xxx
Group=calibre
ExecStart=/usr/bin/calibre-server\
--max-opds-items=30\
--max-opds-ungrouped-items=100\
--port 8282 \
--log=/logfile/.log \
--enable-auth \
--ssl-keyfile /etc/letsencrypt/live/domain/privkey.pem \
--ssl-certfile /etc/letsencrypt/live/domain/fullchain.pem \
"/path/to /library"
[Install]
WantedBy=multi-user.target
I'm really puzzled right now.