FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14085 questions

16727 answers

27456 comments

53736 members

0 votes
140 views 2 comments
by

Hello, How can i run mosquitto.conf on rut240 startup ? 

by
I have tried with crontab but I don't know what I am doing wrong, I made a script that should be executed at startup
by

this is the script 

and crontab

1 Answer

0 votes
by

Hello, 

If you just want to start mosquitto from a router reboot. You can use the command @Reboot /etc/init.d/mosquitto -p port number to use. You would not need another script to do this. 

If you want to modify the mosquitto default configuration, you can access the file through the path /etc/mosquitto/mosquitto.conf ,and enable this preference with the @Reboot /etc/init.d/mosquitto -c /etc/mosquitto/mosquitto.conf command.