blob: e141a1925535d8478904a49db9057c11736bb657 [file] [log] [blame]
Eric Newberry01762d42015-06-09 14:14:28 -07001# Copyright (c) 2015, Arizona Board of Regents.
2#
3# This file is part of NDN repo-ng (Next generation of NDN repository).
4# See AUTHORS.md for complete list of repo-ng authors and contributors.
5#
6# repo-ng 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# repo-ng 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# repo-ng, 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=New generation of NDN repo
21Documentation=man:ndn-repo-ng
22Requires=nfd.service
23After=nfd.service
24
25[Service]
26Environment=HOME=/var/lib/ndn/repo-ng
27User=ndn
28Group=ndn
29ExecStart=/usr/bin/ndn-repo-ng -c /etc/ndn/repo-ng.conf
30Restart=on-failure
31ProtectSystem=full
32PrivateTmp=yes
33PrivateDevices=yes
34ProtectHome=yes
35
36[Install]
37WantedBy=multi-user.target