commit | bcbf15e851a688b888c012ad3969954282c9e176 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri May 09 10:23:37 2014 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri May 09 10:44:50 2014 -0700 |
tree | 1d5c95875b1e55ef9b40da52cbd18f2777813dfa | |
parent | 469cbcda89ee8cefdc8de4ebb267df0433d03b32 [diff] [blame] |
nfd: Updating upstart scripts
diff --git a/nfd/debian/nfd.nfd-restart.upstart b/nfd/debian/nfd.nfd-restart.upstart new file mode 100644 index 0000000..213d39c --- /dev/null +++ b/nfd/debian/nfd.nfd-restart.upstart
@@ -0,0 +1,12 @@ +# nfd-restart.conf +# +# Restarting NDN Forwarding Daemon on network connectivity changes + +start on net-device-up +task +instance $IFACE + +script + status nfd | grep -q start/ || stop + restart nfd +end script