Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | description "vector packet processing engine" |
| 2 | author "Cisco Systems, Inc <listname@cisco.com>" |
| 3 | |
| 4 | manual |
| 5 | |
| 6 | respawn |
| 7 | |
| 8 | pre-start script |
Dave Barach | 9942bba | 2016-05-04 09:42:07 -0400 | [diff] [blame] | 9 | rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 10 | # should be there via dkms, but if not, start anyway |
| 11 | modprobe igb_uio || true |
| 12 | end script |
| 13 | |
| 14 | |
| 15 | script |
Damjan Marion | 08ff7e0 | 2016-01-20 13:45:36 +0100 | [diff] [blame] | 16 | exec vpp -c /etc/vpp/startup.conf |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 17 | end script |
| 18 | |
| 19 | post-stop script |
Dave Barach | 9942bba | 2016-05-04 09:42:07 -0400 | [diff] [blame] | 20 | rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 21 | end script |