You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i run mosquitto with this command
sudo mosquitto -c /home/test/Users/username/config.conf
mosquitto runs well but those configs were not applied in it and pid has not been writen in specified pid file
How can I run this as service? Every time I restart server , they run automatically
The text was updated successfully, but these errors were encountered:
hi guys
I want to run mosquitto with the different config on a server
I create a folder for that and put configs and files in that
this is my config
port 12345
auto_id_prefix test-
clientid_prefixes test-
log_dest file /home/test/Users/username/files/log.log
password_file file /home/test/Users/username/files/log.log
acl_file file /home/test/Users/username/files/log.log
persistence_location /home/test/Users/username/files
pid_file /home/test/Users/username/mosquitto.pid
include_dir /home/test/Users/username/conf.d
/conf.d config:
sys_interval 60
max_queued_messages 30
max_inflight_messages 5
message_size_limit 40
persistent_client_expiration 7d
max_connections 25
allow_zero_length_clientid true
persistence_file persistence.db
use_username_as_clientid true
log_dest topic
log_type error
log_type warning
log_type notice
log_type information
log_type debug
log_type subscribe
log_type unsubscribe
connection_messages true
log_timestamp true
i run mosquitto with this command
sudo mosquitto -c /home/test/Users/username/config.conf
mosquitto runs well but those configs were not applied in it and pid has not been writen in specified pid file
How can I run this as service? Every time I restart server , they run automatically
The text was updated successfully, but these errors were encountered: