View Single Post
Old 11-01-2017, 07:47 AM   #62
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by ams View Post
@tshering: thanks, using your suggestion in #56 I got it running. Is there an easy way to automatically run the 'start wikipedia.sh' each time KSM boots?
Maybe it would be better to start the Kiwix server only when starting nickel, and killing it when exiting nickel. I was planning to create a folder for scripts to be run before launching nickel, and another folder for scripts to be run after exiting nickel, anyway.

One problem I see is that the server is run from the user partition, which can be dangerous when connecting to the pc via usb. I guess, KSM refuses to connect via usb, after you start the server.
Moving kiwix-serve to the system partition might also be a problem, since space is very limited. (I guess the ifconfig provided of the package is not necessary, the onboard version will do.)

For the time being I would start and kill ("killall kiwix-serve") manually.
tshering is offline   Reply With Quote