Davide Pesavento | a7fead4 | 2019-01-19 21:18:17 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Certificate Management Service for NDN |
tylerliu | efe913d | 2020-10-17 14:45:21 -0700 | [diff] [blame] | 3 | Wants=nfd.service |
Davide Pesavento | a7fead4 | 2019-01-19 21:18:17 -0500 | [diff] [blame] | 4 | After=nfd.service |
| 5 | |
| 6 | [Service] |
tylerliu | efe913d | 2020-10-17 14:45:21 -0700 | [diff] [blame] | 7 | Type=simple |
Davide Pesavento | a7fead4 | 2019-01-19 21:18:17 -0500 | [diff] [blame] | 8 | Environment=HOME=%S/ndn/ndncert |
| 9 | EnvironmentFile=-@SYSCONFDIR@/default/ndncert |
| 10 | ExecStart=@BINDIR@/ndncert-ca-server $FLAGS |
| 11 | Restart=on-failure |
| 12 | RestartPreventExitStatus=2 |
| 13 | User=ndncert |
| 14 | |
Davide Pesavento | a7fead4 | 2019-01-19 21:18:17 -0500 | [diff] [blame] | 15 | [Install] |
| 16 | WantedBy=multi-user.target |
tylerliu | efe913d | 2020-10-17 14:45:21 -0700 | [diff] [blame] | 17 | Alias=ndncert.service |
| 18 | Alias=ndncert-ca.service |