halfgaar / FlashMQ

FlashMQ is a fast light-weight MQTT broker/server, designed to take good advantage of multi-CPU environments
https://www.flashmq.org/
Open Software License 3.0
173 stars 24 forks source link

[simple question] how to give access for log dir ? #43

Closed itweb62 closed 1 year ago

itweb62 commented 1 year ago

Hello,

when i try to give access for flashmq user i didn't gain the access with chown flashmq:flashmq & chmod..

File '/var/log/flashmq/flashmq.log' is not there and can't be created, because '/var/log/flashmq' is also not writable

I'm not a linux expert so..

Edit (not for this case)

For mTLS i also add SSL_CTX_use_certificate_chain_file in listener.cpp