Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | description "vector packet processing engine" |
Dave Barach | b220467 | 2018-11-30 16:46:29 -0500 | [diff] [blame] | 2 | author "Cisco Systems, Inc <vpp-dev@lists.fd.io>" |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 3 | |
| 4 | manual |
| 5 | |
| 6 | respawn |
| 7 | |
| 8 | pre-start script |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 9 | # should be there via dkms, but if not, start anyway |
Damjan Marion | d0f673e | 2017-01-31 17:29:33 +0100 | [diff] [blame] | 10 | modprobe uio_pci_generic || true |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 11 | end script |
| 12 | |
| 13 | |
| 14 | script |
Damjan Marion | 08ff7e0 | 2016-01-20 13:45:36 +0100 | [diff] [blame] | 15 | exec vpp -c /etc/vpp/startup.conf |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 16 | end script |
| 17 | |
| 18 | post-stop script |
Dave Barach | 9942bba | 2016-05-04 09:42:07 -0400 | [diff] [blame] | 19 | 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] | 20 | end script |