Alexander Afanasyev | 37a05f6 | 2014-05-09 18:55:21 -0700 | [diff] [blame^] | 1 | # nfd-watcher.conf |
2 | # | ||||
3 | # Restarting NDN Forwarding Daemon on network connectivity changes | ||||
4 | |||||
5 | start on (net-device-up or | ||||
6 | net-device-removed or | ||||
7 | net-device-changed) | ||||
8 | task | ||||
9 | |||||
10 | script | ||||
11 | status nfd | grep -q start/ || stop | ||||
12 | restart nfd | ||||
13 | end script |