vpp/build-root/deb/debian/vpp.upstart
Dave Barach b2204671da Delete shared memory segment files when vpp starts
Should have been done this way years ago. My bad.

Change-Id: Ic7bf937fb6c4dc5c1b6ae64f2ecf8608b62e7039
Signed-off-by: Dave Barach <dave@barachs.net>
2018-12-01 00:32:56 +00:00

21 lines
393 B
Plaintext

description "vector packet processing engine"
author "Cisco Systems, Inc <vpp-dev@lists.fd.io>"
manual
respawn
pre-start script
# should be there via dkms, but if not, start anyway
modprobe uio_pci_generic || 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