Eric Newberry | 8149f77 | 2015-06-09 14:12:19 -0700 | [diff] [blame] | 1 | # Copyright (c) 2014-2015, The University of Memphis, |
| 2 | # Regents of the University of California, |
| 3 | # Arizona Board of Regents. |
| 4 | # |
| 5 | # This file is part of NLSR (Named-data Link State Routing). |
| 6 | # See AUTHORS.md for complete list of NLSR authors and contributors. |
| 7 | # |
| 8 | # NLSR is free software: you can redistribute it and/or modify it under the terms |
| 9 | # of the GNU General Public License as published by the Free Software Foundation, |
| 10 | # either version 3 of the License, or (at your option) any later version. |
| 11 | # |
| 12 | # NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 13 | # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 14 | # PURPOSE. See the GNU General Public License for more details. |
| 15 | # |
| 16 | # You should have received a copy of the GNU General Public License along with |
| 17 | # NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
| 18 | # |
| 19 | # Author: Eric Newberry <enewberry@email.arizona.edu> |
| 20 | |
| 21 | [Unit] |
| 22 | Description=NDN NLSR Routing Daemon |
| 23 | Documentation=man:nlsr |
| 24 | Requires=nfd.service |
| 25 | After=nfd.service |
| 26 | |
| 27 | [Service] |
| 28 | Environment=HOME=/var/lib/ndn/nlsr |
| 29 | User=nlsr |
| 30 | Group=nlsr |
| 31 | ExecStart=/usr/bin/nlsr -f /etc/ndn/nlsr/nlsr.conf |
| 32 | Restart=on-failure |
| 33 | ProtectSystem=full |
| 34 | PrivateTmp=yes |
| 35 | PrivateDevices=yes |
| 36 | ProtectHome=yes |
| 37 | |
| 38 | [Install] |
| 39 | WantedBy=multi-user.target |