Help and Support
Ask a question, report a problem, request a feature...
<<  Back To Forum

[FEATURE_REQUEST]  Semaphore file  for tixati termination

by hikikomori on 2023/03/21 03:01:28 PM    
HI!

Tixati creates a lock.dat semaphore file during startup, which allows scripts to track its status or crash.
Why semaphore file only one?

Sometimes it is necessary to terminate tixati correctly remotely, for example, to backup a BD.
Please add the "exit.dat" semaphore file, when it appears in the working directory, the program would end, as if the "exit" button was clicked with the mouse. In some cases, the system freezes, the UI is not available, and creating exit.dat via scp is the only way to exit it correctly!


In the previous year I already raised this topic (https://forum.tixati.com/support/7399  ), there was only one answer, and unfortunately it does not fit.
Need a guaranteed-correct completion of tixati. If i just remove the task from CLI:
WINDOWS: taskkill /pid <tixati process id>
LINUX: pkill tixati

there is a high chance of corrupting the database. Therefore, the best option is give to tixati a semaphore file so that it ends gracefully on its own.




This web site is powered by Super Simple Server