Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 11-01-2017, 10:29 AM   #1
jrp13149
Junior Member
jrp13149 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: ipad
Calibre3 systemd

I've just upgraded my OS, and am now running systemd, and Calibre 3 for the first time.

I previously had multiple libraries serviced by multiple instances of calibre server running on different ports. I can see now that Calibre 3 behaviour is different, and that I only need one instance.

I need to write a systemd file that allows me to pass multiple command line options and multiple libraries to the calibre server, and I've not been able to do this.

The execstart entry in my service file is:
ExecStart=/opt/calibre/calibre-server " --port=4567 --enable-auth --disable use-bonjour" /data/phobos/archive/calibre_libraries/calibre_kids

and it doesn't work. What am I missing? Could someone share an example of an entry that works?

Thanks,

Jeff.
jrp13149 is offline   Reply With Quote
Old 11-01-2017, 11:00 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,301
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/ser...n-linux-system

You dont put quotes around multiple arguments
kovidgoyal is online now   Reply With Quote
Advert
Old 11-01-2017, 12:36 PM   #3
jrp13149
Junior Member
jrp13149 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: ipad
Doh - Thanks - fixed now.

It was the depreciation of '--use-library' that confused me. I was trying to pass a string of options intact as a single argument.

Regards,

Jeff.
jrp13149 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
--Manage-users and systemd dom134 Calibre 6 06-30-2017 04:37 PM


All times are GMT -4. The time now is 06:10 AM.


MobileRead.com is a privately owned, operated and funded community.