vpp/build-root/deb/debian/vpp.upstart

22 lines
398 B
Plaintext
Raw Normal View History

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