Srivatsa Sangli | 0777915 | 2016-04-15 13:59:00 -0700 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=vector packet processing engine |
| 3 | After=network.target |
| 4 | |
| 5 | [Service] |
| 6 | Type=simple |
Dave Barach | 9942bba | 2016-05-04 09:42:07 -0400 | [diff] [blame] | 7 | ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api |
Srivatsa Sangli | 0777915 | 2016-04-15 13:59:00 -0700 | [diff] [blame] | 8 | ExecStartPre=-/sbin/modprobe igb_uio |
| 9 | ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf |
Dave Barach | 9942bba | 2016-05-04 09:42:07 -0400 | [diff] [blame] | 10 | ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api |
Srivatsa Sangli | 0777915 | 2016-04-15 13:59:00 -0700 | [diff] [blame] | 11 | Restart=always |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |