Open rubo77 opened 8 years ago
That solution is terribly inflexible and not very cleanly written. It would be much better to simply pass files (or file descriptors/pipes) to the program that are then used as output of the various programs. That way, not only the location of the files can be configured, but also dynamic generation like remote calls could be done like so:
... --alfred-158-output <(ssh alfred-gateway.ffhb.example.org alfred-json -z -r 158) ...
(obviously alfred-158-output
is a horrible name and should be replaced by something more reasonable)
I created a branch from our solution in kiel:
https://github.com/freifunk-kiel/ffmap-backend/tree/bridge
that works fine together with the bridge:
https://github.com/rubo77/ffmap-backend-bridge
should we add this to the repository somehow?