Need help seting up a server, or have a question on how to run one? This is the place.
4 posts • Page 1 of 1
Could I create a single banfile and just hard link to it in other directories so that other bzfs servers see the same changes (because the hardlinks are pointing back to the original)? Or can you just use the same banfile for all servers without locking issues or race conditions? Thanks...
You don't even need to hard link. You can use symlinks to a shared file. I believe when you ban/unban someone it reloads the banlist from disk prior to that. Additionally, the serverControl plugin can be used to automatically reload the ban file when the file changes, so a ban on one server will quickly show up on all servers.
Similar question: does reportfile get accessed using flock() ?? Safe IO or risk of truncate on race condition if two servers share the file and a /report is made simultaneously?
I'd keep report files separate so you know which server a report was filed on.
Who is online
Users browsing this forum: No registered users and 1 guest