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 |
BenoƮt Ganne | 6d72c17 | 2019-07-04 11:25:59 +0200 | [diff] [blame^] | 11 | # Uncomment the following line to enable VPP coredumps on crash |
| 12 | # You still need to configure the rest of the system to collect them, see |
| 13 | # https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html#core-files |
| 14 | # for details |
| 15 | #LimitCORE=infinity |
Srivatsa Sangli | 0777915 | 2016-04-15 13:59:00 -0700 | [diff] [blame] | 16 | |
| 17 | [Install] |
| 18 | WantedBy=multi-user.target |