blob: f5908783d11f08e432754016a492e72bbeae291e [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001description "vector packet processing engine"
2author "Cisco Systems, Inc <listname@cisco.com>"
3
4manual
5
6respawn
7
8pre-start script
Dave Barach9942bba2016-05-04 09:42:07 -04009 rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
Ed Warnickecb9cada2015-12-08 15:45:58 -070010 # should be there via dkms, but if not, start anyway
11 modprobe igb_uio || true
12end script
13
14
15script
Damjan Marion08ff7e02016-01-20 13:45:36 +010016 exec vpp -c /etc/vpp/startup.conf
Ed Warnickecb9cada2015-12-08 15:45:58 -070017end script
18
19post-stop script
Dave Barach9942bba2016-05-04 09:42:07 -040020 rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
Ed Warnickecb9cada2015-12-08 15:45:58 -070021end script