blob: 392af52b2a11e4ffe130f04890f44ddcc52ea003 [file] [log] [blame]
Alexander Afanasyev37a05f62014-05-09 18:55:21 -07001# nfd-watcher.conf
2#
3# Restarting NDN Forwarding Daemon on network connectivity changes
4
5start on (net-device-up or
6 net-device-removed or
7 net-device-changed)
8task
9
10script
11 status nfd | grep -q start/ || stop
12 restart nfd
13end script