Zhiyi Zhang | 4f1cfbc | 2018-01-17 16:38:40 -0800 | [diff] [blame] | 1 | # Author: Zhiyi Zhang <zhiyi@cs.ucla.edu> |
| 2 | |
| 3 | [Unit] |
| 4 | Description=Certificate Management CA Service for Named Data Networking |
| 5 | Documentation=man:ndns-daemon |
| 6 | Requires=nfd.service |
| 7 | After=nfd.service |
| 8 | |
| 9 | [Service] |
| 10 | Environment=HOME=/var/lib/ndn/ndncert |
| 11 | EnvironmentFile=-/etc/default/ndncert |
| 12 | User=ndncert |
| 13 | Group=ndncert |
| 14 | ExecStart=/usr/bin/ndncert-ca-server -c /etc/ndncert/ndncert-ca.conf $FLAGS |
| 15 | Restart=on-failure |
| 16 | ProtectSystem=full |
| 17 | PrivateTmp=yes |
| 18 | PrivateDevices=yes |
| 19 | ProtectHome=yes |
| 20 | |
| 21 | [Install] |
| 22 | WantedBy=multi-user.target |