FS#37629 - [calibre] Calibre server service
Attached to Project:
Community Packages
Opened by dhead666 (dhead666) - Monday, 04 November 2013, 04:33 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 31 December 2013, 20:28 GMT
Opened by dhead666 (dhead666) - Monday, 04 November 2013, 04:33 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 31 December 2013, 20:28 GMT
|
Details
I recommend adding a server service.
The attached worked for me well in the past. One should notice that: * calibre must have writing permissions to both the db and json files. * for each calibre library another instance of the server needed to be run (with different port and pid). * better have callibre user and group and not run it as root. [Unit] Description=Calibre Service After=network.target [Service] Type=forking ExecStart=/usr/bin/calibre-server \ --daemonize \ --port=8001 \ --with-library=/path_to_calibre_library_1/ \ --pidfile=/var/run/calibre-server-1.pid PIDFile=/var/run/calibre-server-1.pid [Install] WantedBy=multi-user.target |
This task depends upon
Closed by Jelle van der Waa (jelly)
Tuesday, 31 December 2013, 20:28 GMT
Reason for closing: No response
Tuesday, 31 December 2013, 20:28 GMT
Reason for closing: No response
Comment by
Jelle van der Waa (jelly) - Tuesday,
05 November 2013, 17:02 GMT
I don't feel like adding a service file to calibre, plus another
group/user. Also the service file is very specific per user. I
guess it's nicer to add this to the wiki, so users can adapt the
.service file.