blob: 22ab33ba28ef7b185f5191f84b92e7bfe071bdda [file] [log] [blame]
Zhiyi Zhang4f1cfbc2018-01-17 16:38:40 -08001description "NDN Certificate Management System Library"
2author "Zhiyi Zhang <zhiyi@cs.ucla.edu>"
3
4start on started nfd
5stop on stopping nfd
6
7respawn
8respawn limit unlimited
9
10setuid ndn
11setgid ndn
12
13script
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
21end script