blob: db61b812d47cbe2a406fdfd0bf9dbc4e92cef7f8 [file] [log] [blame]
Eric Newberry8149f772015-06-09 14:12:19 -07001# 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]
22Description=NDN NLSR Routing Daemon
23Documentation=man:nlsr
24Requires=nfd.service
25After=nfd.service
26
27[Service]
28Environment=HOME=/var/lib/ndn/nlsr
29User=nlsr
30Group=nlsr
31ExecStart=/usr/bin/nlsr -f /etc/ndn/nlsr/nlsr.conf
32Restart=on-failure
33ProtectSystem=full
34PrivateTmp=yes
35PrivateDevices=yes
36ProtectHome=yes
37
38[Install]
39WantedBy=multi-user.target