Zhiyi Zhang | 4f1cfbc | 2018-01-17 16:38:40 -0800 | [diff] [blame] | 1 | description "NDN Certificate Management System Library" |
2 | author "Zhiyi Zhang <zhiyi@cs.ucla.edu>" | ||||
3 | |||||
4 | start on started nfd | ||||
5 | stop on stopping nfd | ||||
6 | |||||
7 | respawn | ||||
8 | respawn limit unlimited | ||||
9 | |||||
10 | setuid ndn | ||||
11 | setgid ndn | ||||
12 | |||||
13 | script | ||||
14 | FLAGS = "" | ||||
15 | if [ -f /etc/default/ndncert ]; then | ||||
16 | . /etc/default/ndncert | ||||
17 | fi | ||||
18 | |||||
19 | export HOME=/var/lib/ndn/ndncert | ||||
20 | exec /usr/bin/ndncert-ca-server -c /etc/ndncert/ndncert-ca.conf $FLAGS | ||||
21 | end script |