Added netmon conf file for setup 84/8284/1
authorMarcel Enguehard <[email protected]>
Fri, 1 Sep 2017 12:57:32 +0000 (14:57 +0200)
committerMarcel Enguehard <[email protected]>
Fri, 1 Sep 2017 12:57:32 +0000 (14:57 +0200)
Change-Id: Ib99f99fd89ce633924462639a886c4a9c97995e0
Signed-off-by: Marcel Enguehard <[email protected]>
etc/netmon.conf [new file with mode: 0644]
etc/netmon.service [new file with mode: 0644]

diff --git a/etc/netmon.conf b/etc/netmon.conf
new file mode 100644 (file)
index 0000000..2518a7f
--- /dev/null
@@ -0,0 +1,12 @@
+description "Manifold Map"
+author      "Jordan Augé <[email protected]>"
+
+start on started  nfd
+stop  on stopping nfd
+
+respawn
+respawn limit unlimited
+
+script
+  exec /usr/bin/netmon
+end script
diff --git a/etc/netmon.service b/etc/netmon.service
new file mode 100644 (file)
index 0000000..67caee9
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright (c) 2015,  Cisco Systems
+#
+# This file is part of the NDN netmon.
+# See AUTHORS.md for complete list of authors and contributors.
+#
+# This program is free software: you can redistribute it and/or modify it under the terms
+# of the GNU General Public License as published by the Free Software Foundation,
+# either version 3 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.  See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program, e.g., in COPYING.md file.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Jordan Augé <[email protected]>
+
+[Unit]
+Description=Netmon
+# Documentation=man:netmon
+# Requires=nfd.service
+# After=nfd.service
+
+[Service]
+#Environment=HOME=/var/lib/ndn/repo-ng
+#User=ndn
+#Group=ndn
+ExecStart=/usr/bin/netmon
+Restart=on-failure
+#ProtectSystem=full
+#PrivateTmp=yes
+#PrivateDevices=yes
+#ProtectHome=yes
+
+[Install]
+WantedBy=multi-user.target