Alexander Afanasyev | 94c793a | 2015-07-23 04:11:36 +0000 | [diff] [blame] | 1 | # Authors: |
| 2 | # - Eric Newberry <enewberry@email.arizona.edu> |
| 3 | # - Alexander Afanasyev <http://lasr.cs.ucla.edu/afanasyev/index.html> |
| 4 | |
| 5 | [Unit] |
| 6 | Description=Reachability testing server for Named Data Networking. |
| 7 | Documentation=man:ndnpingserver |
| 8 | Requires=nfd.service |
| 9 | After=nfd.service |
| 10 | |
| 11 | [Service] |
| 12 | Environment=HOME=/var/lib/ndn/ndnping |
| 13 | EnvironmentFile=-/etc/default/ndnping |
| 14 | User=ndn |
| 15 | Group=ndn |
| 16 | ExecStart=/usr/bin/ndnpingserver "$PREFIX" $FLAGS |
| 17 | Restart=on-failure |
| 18 | ProtectSystem=full |
| 19 | PrivateTmp=yes |
| 20 | PrivateDevices=yes |
| 21 | ProtectHome=yes |
| 22 | |
| 23 | [Install] |
| 24 | WantedBy=multi-user.target |