blob: 1ad2d560f6b0edfd1cd2954a35e6c45b0852126e [file] [log] [blame]
Eric Newberry9ab4a662015-05-28 11:36:41 -07001# Copyright (c) 2015, Regents of the University of California,
2# Arizona Board of Regents,
3# Colorado State University,
4# University Pierre & Marie Curie, Sorbonne University,
5# Washington University in St. Louis,
6# Beijing Institute of Technology,
7# The University of Memphis.
8#
9# This file is part of NFD (Named Data Networking Forwarding Daemon).
10# See AUTHORS.md for complete list of NFD authors and contributors.
11#
12# NFD is free software: you can redistribute it and/or modify it under the terms
13# of the GNU General Public License as published by the Free Software Foundation,
14# either version 3 of the License, or (at your option) any later version.
15#
16# NFD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
17# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18# PURPOSE. See the GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License along with
21# NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
22#
23# Author: Eric Newberry <enewberry@email.arizona.edu>
24
25[Unit]
26Description=NFD HTTP Status Server
27Documentation=man:nfd-status-http-server
28After=nfd.service
29
30[Service]
Alexander Afanasyev82d638b2017-01-26 05:17:47 +000031Environment=HOME=/var/lib/ndn/nfd-status-http-server
Eric Newberry9ab4a662015-05-28 11:36:41 -070032EnvironmentFile=-/etc/default/nfd-status-http-server
33ExecStart=/usr/bin/nfd-status-http-server $FLAGS
34Restart=on-failure
35ProtectSystem=full
36PrivateTmp=yes
37PrivateDevices=yes
38ProtectHome=yes
39
40[Install]
41WantedBy=multi-user.target