Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | description "vector packet processing engine" |
2 | author "Cisco Systems, Inc <listname@cisco.com>" | ||||
3 | |||||
4 | manual | ||||
5 | |||||
6 | respawn | ||||
7 | |||||
8 | pre-start script | ||||
9 | rm -f /dev/shm/* || true | ||||
10 | # should be there via dkms, but if not, start anyway | ||||
11 | modprobe igb_uio || true | ||||
12 | end script | ||||
13 | |||||
14 | |||||
15 | script | ||||
16 | exec vpe $(cat /etc/vpp/startup.conf | sed -e 's/#.*//') | ||||
17 | end script | ||||
18 | |||||
19 | post-stop script | ||||
20 | rm -f /dev/shm/* || true | ||||
21 | end script |