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