FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
200 views 2 comments
by anonymous

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

by anonymous
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 anonymous

this is the script 

and crontab

1 Answer

0 votes
by anonymous

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.