blob: 62e1d2780e666948270860b9c8f48f99668be60c [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001description "vector packet processing engine"
2author "Cisco Systems, Inc <listname@cisco.com>"
3
4manual
5
6respawn
7
8pre-start script
Dave Barach9942bba2016-05-04 09:42:07 -04009 rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
Ed Warnickecb9cada2015-12-08 15:45:58 -070010 # should be there via dkms, but if not, start anyway
Damjan Mariond0f673e2017-01-31 17:29:33 +010011 modprobe uio_pci_generic || true
Ed Warnickecb9cada2015-12-08 15:45:58 -070012end script
13
14
15script
Damjan Marion08ff7e02016-01-20 13:45:36 +010016 exec vpp -c /etc/vpp/startup.conf
Ed Warnickecb9cada2015-12-08 15:45:58 -070017end script
18
19post-stop script
Dave Barach9942bba2016-05-04 09:42:07 -040020 rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
Ed Warnickecb9cada2015-12-08 15:45:58 -070021end script