firmware icon indicating copy to clipboard operation
firmware copied to clipboard

create procd config for olsrd

Open slomo opened this issue 11 years ago • 9 comments

Let olsrd be managed by procd, so it doen't need supervision by the freifunk-watchdog anymore (#52).

slomo avatar Nov 01 '14 13:11 slomo

I prepared something: https://github.com/booo/openwrt-routing/tree/olsrd_procd

booo avatar Nov 01 '14 17:11 booo

Seems you removed START from the init scripts. This is still needed. As far as I know you should define as well a service_triggers() function. With it the daemon will be restarted automatically if the uci config file gets modified (if md5 hash of the file differs).

I would split some changes into their own commits. I already did this in olsrd_procd. I will test it in the next days and try to merge it upstream.

cholin avatar Feb 04 '15 11:02 cholin

I talked to @booo and we agreed that maybe automatically restarting olsrd if you do a change to /etc/config/olsrd is not a good solution.

cholin avatar Feb 04 '15 12:02 cholin

+1! You could easily be locked out of your router.

andrenarchy avatar Feb 04 '15 12:02 andrenarchy

I've tested a working procd integration with cholin-openwrt-routing-packages/olsrd_procd in a mini testbed consisting of a WDR3500, 3600 and bbbvpn connection to the mesh itself. So far it seems to work great. See as well https://github.com/openwrt-routing/packages/pull/78.

cholin avatar Feb 24 '15 14:02 cholin

In the current firmware, openvpn is managed by procd. I am closing this issue

pmelange avatar Nov 04 '18 18:11 pmelange

This ticket is about olsrd!

booo avatar Nov 04 '18 18:11 booo

oops, thanks for keeping me honest.

pmelange avatar Nov 04 '18 19:11 pmelange

Since early 2015 there was no progress on this neither from us nor from upstream (https://github.com/openwrt-routing/packages/pull/78). Honestly it seems nobody will invest time in this at all, so lets close this.

SvenRoederer avatar Oct 23 '20 23:10 SvenRoederer