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 |
Damjan Marion | d0f673e | 2017-01-31 17:29:33 +0100 | [diff] [blame] | 7 | ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api |
| 8 | ExecStartPre=-/sbin/modprobe uio_pci_generic |
Srivatsa Sangli | 0777915 | 2016-04-15 13:59:00 -0700 | [diff] [blame] | 9 | ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf |
Damjan Marion | d0f673e | 2017-01-31 17:29:33 +0100 | [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 |