summaryrefslogtreecommitdiffstats
path: root/build-root/deb/debian/vpp.upstart
blob: ec731d896f552f979240edecaa168ccafe35e6e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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