You can now run script/discourse enable_readonly or script/discourse disable_readonly to enable/disable the readonly mode.
As @riking said, it’s saved in redis right now. Would not make sense to save it in a read-only database ![]()
Not implemented yet. This was mostly made for a site’s admin. Not a super-admin.