Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@grunfink@comam.es I have a couple little feature requests that I think might slightly improve the usage of #Snac with cgi-fcgi on cheap shared hostings:
1) add to server.json an option to configure a folder where to write logs (or at least to save them in a dedicated folder in base dir) instead of standard output. Within such folder, I'd name them after the start date of the server (e.g. snac_2024-12-13.log). When the option is not defined, I'd preserve the current behavior (log to stdout).
2) when running as a server, acquire an advisory lock on the pid, and if you cannot acquire the lock, just exit because someone else is still handling requests for that basedir.