I would like to have Chirpstack-udp-bridge be started every time gateway boots.
I digged into init.d, but adding sylims in rcXXX.d directories as it is done for Chirpstack-udp-bridge just has no effect.
Searched how to add Chirpstack-udp-bridge to “monit” managed services, with no more success.
Btw, starting it manually , as mentioned in another post (Gateway OS forwarding to TTN) works well, but i really would like not to have to do it manually everytime gateway reboots.
Any idea ?
Thx by advance,
you might have to write your own monit file.
I dont know how your gateway-OS looks like, we are using Multitech (mostly).
check process chirpstack-gateway-bridge with pidfile /var/run/chirpstack-gateway-bridge.pid
start program = "/bin/bash -c '/etc/init.d/chirpstack-gateway-bridge start'"
stop program = "/bin/bash -c '/etc/init.d/chirpstack-gateway-bridge stop'"
Thx a lot @chopmann, it s exactly what i needed. Wasn’t familiar with monit and was expecting to find checked services in configuration file…
after creating a script as u ve suggested, chirpstack-udp-bridge shows up at startup.
Yep, that did it ! Thanks guys.