Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2017, 09:32 PM   #1
GeekNbOne
Junior Member
GeekNbOne began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2017
Device: ubuntu
Calibre-server ubuntu server

I have started calibre-server through the command line calibre-server --daemonize on ubuntu server.

Now that I want to stop the process, there is two process, one that I can cancel and another one that is in stat s+ and change pid so I can't cancel.

The second process seems to me a listener. Is there a formal way to stop calibre-server from running when launch by the command line ?

Thanks!
GeekNbOne is offline   Reply With Quote
Old 10-03-2017, 09:52 PM   #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: 43,981
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the --pidfile option, then you can stop it with

pkill -F /path/to/pidfile --signal SIGINT


But better is to create a service file for it to use with systemd, then you can use the system process control facilities. https://manual.calibre-ebook.com/server.html
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Calibre content server 3 on ubuntu server 16_04 khyox Calibre 22 01-06-2018 11:34 PM
calibre-server 3.3 on Ubuntu BMStroh Devices 6 07-14-2017 10:41 AM
Content server on ubuntu 12.04 headless server ImageMagick: libltdl.so.7 Cool Javelin Calibre 5 04-08-2015 02:20 AM
Calibre on ubuntu server tdw197 Calibre 24 01-19-2011 07:48 AM
Calibre crashes X server (Ubuntu 10.10) mfabry Calibre 9 10-15-2010 04:12 PM


All times are GMT -4. The time now is 11:55 AM.


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