2018年7月14日 星期六

How to create systemd unit file calibre.service

nano /etc/systemd/system/calibre.service
[Unit]
Description=Calibre Service
After=network.target
[Service]
ExecStart=/usr/bin/calibre-server\
–enable-use-bonjour \
–port 8080 \
–log=/opt/calibre/calibre.log \
/root/calibre-library
[Install]
WantedBy=multi-user.target

将书籍添加到Caliber的数据库:

xvfb-run calibredb add ~/calibre-library/toadd/ -r –with-library ~/calibre-library && rm ~//calibre-library/toadd/*

上传现有的Calibre Library:

上传文件后,运行
calibre-server –with-library /path/to/calibre-library

删除书籍:

xvfb-run calibredb remove  ids  –with-library ~/calibre-library

备注:
yum install Xvfb
yum -install libXfont
yum install xorg-x11-fonts*
yum install ImageMagick

沒有留言:

張貼留言

Calibre_web administrator password forget

Calibre_web administrator password forget how to reset the admin password: need to specify the app.db docker exec -it calibre-web cd...