jdehart1 | 4dbffd6 | 2016-06-27 14:34:17 -0500 | [diff] [blame] | 1 | # Authors: |
| 2 | # - John DeHart <jdd@wustl.edu> |
| 3 | |
| 4 | [Unit] |
| 5 | Description=Data collection daemons for ndnmap. |
| 6 | Documentation=man:ndnmapDataCollector |
| 7 | Requires=nfd.service |
| 8 | After=nfd.service |
| 9 | |
| 10 | [Service] |
| 11 | Environment=HOME=/var/lib/ndn/ndnmapDataCollector |
jdehart1 | bfa70ae | 2016-07-19 13:35:39 -0500 | [diff] [blame] | 12 | EnvironmentFile=-/etc/default/ndnmap-data-collector |
jdehart1 | 4dbffd6 | 2016-06-27 14:34:17 -0500 | [diff] [blame] | 13 | User=ndn |
| 14 | Group=ndn |
| 15 | ExecStart=/usr/bin/ndnmapDataCollectorClient $FLAGS -p "$PREFIX" |
| 16 | Restart=on-failure |
| 17 | ProtectSystem=full |
| 18 | PrivateTmp=yes |
| 19 | PrivateDevices=yes |
| 20 | ProtectHome=yes |
| 21 | |
| 22 | [Install] |
| 23 | WantedBy=multi-user.target |