Alexander Afanasyev | bcbf15e | 2014-05-09 10:23:37 -0700 | [diff] [blame] | 1 | # nfd-restart.conf |
2 | # | ||||
3 | # Restarting NDN Forwarding Daemon on network connectivity changes | ||||
4 | |||||
5 | start on net-device-up | ||||
6 | task | ||||
Alexander Afanasyev | bcbf15e | 2014-05-09 10:23:37 -0700 | [diff] [blame] | 7 | |
8 | script | ||||
9 | status nfd | grep -q start/ || stop | ||||
10 | restart nfd | ||||
11 | end script |