summaryrefslogtreecommitdiffstats
path: root/build-root/deb/debian/vpp.upstart
blob: f5908783d11f08e432754016a492e72bbeae291e (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/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