I am trying to get Calibre server to start automatic during startup. I have used this tutorial. Then I've used this script:
[Unit]
Description=Calibre Service
After=network.target
[Service]
User=calibre
Group=calibre
ExecStart=/usr/bin/calibre-server \
--daemonize \
--max-cover=600x800 \
--max-opds-items=30 \
--max-opds-ungrouped-items=100 \
--username=calibre \
--port=9000 \
--pidfile=/var/run/calibre-server.pid \
--with-library=/jan/home/calibre-library/
[Install]
WantedBy=multi-user.target
to create an auto startup in systemd. If I manualy startup with: systemctl start calibre.service It seems to execute. If I give the command: systemctl status calibre.service, I get the following result:
● calibre.service - Calibre Service
Loaded: loaded (/lib/systemd/system/calibre.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2017-05-25 21:55:51 CEST; 45s ago
Process: 1887 ExecStart=/usr/bin/calibre-server --daemonize --max-cover=600x800 --max-opds-items=30 --max-opds-ungrouped-items=100 --username=calibre --port=
Main PID: 1887 (code=exited, status=0/SUCCESS)
May 25 21:55:50 FileServer systemd[1]: Started Calibre Service.
May 25 21:55:50 FileServer calibre-server[1887]: No write acces to
/home/calibre/.config/calibre using a temporary dir instead
But when I look in my browser there is no calibre home page on http://192.168.0.100:9000, this is my home server. Does anyone have a clue?
Type=forking
to the[Service]
section and retry lets see what happens!