diff options
author | Marcel Enguehard <mengueha+fdio@cisco.com> | 2017-09-01 14:57:32 +0200 |
---|---|---|
committer | Marcel Enguehard <mengueha+fdio@cisco.com> | 2017-09-01 14:57:32 +0200 |
commit | fe5f795fe9d81a3fe50b3bd0d4fe0533cc4edc86 (patch) | |
tree | e0ab1c4a69d0fdb113d8c3844c83541e5ec0e3bb | |
parent | 26ee5a8eadbbbf613616963268a9ff20ac1f9beb (diff) |
Added netmon conf file for setup
Change-Id: Ib99f99fd89ce633924462639a886c4a9c97995e0
Signed-off-by: Marcel Enguehard <mengueha+fdio@cisco.com>
-rw-r--r-- | etc/netmon.conf | 12 | ||||
-rw-r--r-- | etc/netmon.service | 37 |
2 files changed, 49 insertions, 0 deletions
diff --git a/etc/netmon.conf b/etc/netmon.conf new file mode 100644 index 00000000..2518a7f4 --- /dev/null +++ b/etc/netmon.conf @@ -0,0 +1,12 @@ +description "Manifold Map" +author "Jordan Augé <jordan.auge@cisco.com>" + +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 index 00000000..67caee9a --- /dev/null +++ b/etc/netmon.service @@ -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é <jordan.auge@cisco.com> + +[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 |