fxbox / foxbox

The FoxBox daemon
Mozilla Public License 2.0
29 stars 29 forks source link

File Storage Adapter #580

Open fabricedesre opened 7 years ago

fabricedesre commented 7 years ago

Launch foxbox with: FOXBOX_STORAGE=$PATH_TO_WATCH ./run.sh -- -s foxbox -t knilxof.org:443 to expose the files in $PATH_TO_WATCH through this adapter.

@Yoric : I added support to watch values in controller.rs:89, and we get the events when adding new channels, but not when removing them (it's easy to test by touching a file in the watched directory, and then removing it). Do you see anything that could cause that (I'm sure we don't drop the guard since we still receive new ChannelAdded events)?