ttn-zh / ic880a-gateway

Reference setup for iC880a gateways running The Things Network
GNU General Public License v3.0
455 stars 210 forks source link

Always restart service, not just on-failure #53

Closed 1082008 closed 4 years ago

1082008 commented 5 years ago

ttn-gateway is restarted by systemd every time it stops with a failure, but poly_pkt_fwd returns success most of the time. This preq makes systemd restart our service in all cases. It can be still stopped with systemctl stop ttn-gateway if we want to actually stop it.