diff options
author | Luca Muscariello <lumuscar+fdio@cisco.com> | 2017-09-04 11:33:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2017-09-04 11:33:13 +0000 |
commit | 009e5b9b4c15f28bdb4a5a2fbd4e013e9ab15765 (patch) | |
tree | 518720eb19e796b2a07e1bbde0dd0198835da88b /etc | |
parent | af963496dbae8fd8a9637d164306ba10b3e81607 (diff) | |
parent | fe5f795fe9d81a3fe50b3bd0d4fe0533cc4edc86 (diff) |
Merge "Added netmon conf file for setup" into vicn/master
Diffstat (limited to 'etc')
-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 |