cosmopolitan/tool
Paul Kulchenko 638e14bbf3
Improve Redbean shutdown (#506)
* Update redbean shutdown to call OnServerStop when all shutdown/logging is done

* Move closing file descriptors during daemonization earlier

This should fix using opened file descriptors, for example, SQLite DB
files and redbean itself when StoreAsset is used. Fixes #182.

* Move opening logs earlier to capture logs from Listen and .init.lua

* Move pidpath handling outside of daemonize, as it can be used independently
2022-07-23 18:58:31 -07:00
..
args Make some systemic improvements 2022-05-18 16:52:36 -07:00
build Explicitly disable Linux capabilities 2022-07-23 12:06:41 -07:00
decode Correct more typos (#500) 2022-07-21 20:53:30 -07:00
emacs Remove trailing whitespace from all files (#497) 2022-07-20 20:31:16 -07:00
hash Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
lambda Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
net Improve Redbean shutdown (#506) 2022-07-23 18:58:31 -07:00
plinko Remove trailing whitespace from all files (#497) 2022-07-20 20:31:16 -07:00
scripts WIP: Correct all typos (#498) 2022-07-20 14:01:15 -07:00
viz WIP: Correct all typos (#498) 2022-07-20 14:01:15 -07:00
tool.mk Make fixes and improvements 2022-06-18 01:46:12 -07:00