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=-/sbin/modprobe uio_pci_generic |
Srivatsa Sangli | 0777915 | 2016-04-15 13:59:00 -0700 | [diff] [blame] | 8 | ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf |
Damjan Marion | d0f673e | 2017-01-31 17:29:33 +0100 | [diff] [blame] | 9 | 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] | 10 | Restart=always |
| 11 | |
| 12 | [Install] |
| 13 | WantedBy=multi-user.target |