Edit to https://docs.basex.org/wiki/Database_Server and question
Hi Patrick,
Quoted text · Patrick Durusau · 4 lines
> "Pressing |Ctrl+c| will close all connections and databases and > gracefully shut down the server process." > > True? False? Somewhere in between?
True. I think it’s still reasonable to keep this command in our documentation as you can start the BaseX server in the background (e.g. via & or nohup on Linux).
Cheers, Christian
Greetings!
I edited https://docs.basex.org/wiki/Database_Server
to change:
Add the stop keyword to gracefully shut down the server.
to:
Use |basexserverstop| or |basexserverstop.bat| to gracefully shut down the server.
Question, in the first paragraph following this list, the text reads:
"Pressing |Ctrl+c| will close all connections and databases and gracefully shut down the server process."
True? False? Somewhere in between?
If true it should be the third alternative after basexserverstop.bat, but then why the scripts if we can always Ctrl+c?
What am I missing?
Thanks!
Patrick
Quoted text · Patrick Durusau · 2 lines
> Oh, not question about keeping the command, just wanted to gather the > stopping commands all together in one place.
Feel free to adjust it if you think it’s helpful. Thanks.
Quoted text · Christian Grün · 25 lines
> On 3/8/22 10:35, Christian Grün wrote: > > Hi Patrick, > > > >> "Pressing |Ctrl+c| will close all connections and databases and > >> gracefully shut down the server process." > >> > >> True? False? Somewhere in between? > > True. I think it’s still reasonable to keep this command in our > > documentation as you can start the BaseX server in the background > > (e.g. via & or nohup on Linux). > > > > Cheers, > > Christian > > -- > Patrick Durusau > patrick at durusau.net > Technical Advisory Board, OASIS (TAB) > Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 > Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) > > Another Word For It (blog): http://tm.durusau.net > Homepage: http://www.durusau.net > Twitter: patrickDurusau >
Oh, not question about keeping the command, just wanted to gather the stopping commands all together in one place.
Patrick
Quoted text · Christian Grün · 13 lines
On 3/8/22 10:35, Christian Grün wrote: > Hi Patrick, > >> "Pressing |Ctrl+c| will close all connections and databases and >> gracefully shut down the server process." >> >> True? False? Somewhere in between? > True. I think it’s still reasonable to keep this command in our > documentation as you can start the BaseX server in the background > (e.g. via & or nohup on Linux). > > Cheers, > Christian
Written for BaseX 9.6. BaseX may have changed since: please check the current documentation.