vpp/build-root/deb/debian/vpp.upstart
Dave Barach 9942bba79f VPP-12: only remove vpp-related files from /dev/shm
Change-Id: I1b6983a6d23d3d2635814cdd307efa25cd5c8b7b
Signed-off-by: Dave Barach <dave@barachs.net>
2016-05-04 09:42:20 -04:00

22 lines
449 B
Plaintext

description "vector packet processing engine"
author "Cisco Systems, Inc <listname@cisco.com>"
manual
respawn
pre-start script
rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
# should be there via dkms, but if not, start anyway
modprobe igb_uio || true
end script
script
exec vpp -c /etc/vpp/startup.conf
end script
post-stop script
rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
end script