2015-12-08 15:45:58 -07:00
|
|
|
description "vector packet processing engine"
|
|
|
|
author "Cisco Systems, Inc <listname@cisco.com>"
|
|
|
|
|
|
|
|
manual
|
|
|
|
|
|
|
|
respawn
|
|
|
|
|
|
|
|
pre-start script
|
2016-05-04 09:42:07 -04:00
|
|
|
rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
|
2015-12-08 15:45:58 -07:00
|
|
|
# should be there via dkms, but if not, start anyway
|
|
|
|
modprobe igb_uio || true
|
|
|
|
end script
|
|
|
|
|
|
|
|
|
|
|
|
script
|
2016-01-20 13:45:36 +01:00
|
|
|
exec vpp -c /etc/vpp/startup.conf
|
2015-12-08 15:45:58 -07:00
|
|
|
end script
|
|
|
|
|
|
|
|
post-stop script
|
2016-05-04 09:42:07 -04:00
|
|
|
rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
|
2015-12-08 15:45:58 -07:00
|
|
|
end script
|