>Regarding item 4. What will be the mechanism to stop the service using 
 
 >the AppImage, just Ctrl-C?  
 >  
 >I wonder if it will be with another switch:  
 ># AppImage *stop*  
  
 If you're running the AppImage in the foreground, Ctrl-C will still be the
correct way to terminate it.  citserver detects SIGINT and goes into an orderly
shutdown, and I've already put the code into place to make ctdlvisor pass
that through cleanly. 
  
 My intention for background operation is to have an invocation like 
"citadel.AppImage
install" which creates a systemd unit file to handle the correct startup and
shutdown commands.  Services started by systemd don't have to go into the
background because the supervisor handles that for you.  It is also trivial
to configure it to stop the service by sending SIGTERM, which also shuts things
down cleanly. 
  
 A couple of weeks ago I significantly reduced the
number of things citserver tries to do before it closes its databases.  
Previously
it tried to end every session, free every buffer, really put everything away.
 Now it just goes right for the database close, which makes it far more likely
to finish in the 30 seconds it has before the program is forcefully terminated.

  
 Bottom line, the AppImage effort is forcing us to clean up a lot of things
that are making the whole system more solid. 
 

Reply via email to