2015-12-08 15:45:58 -07:00
|
|
|
[Unit]
|
|
|
|
Description=Vector Packet Processing Process
|
|
|
|
After=syslog.target network.target auditd.service
|
|
|
|
|
|
|
|
[Service]
|
2016-06-08 14:41:40 -05:00
|
|
|
ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
|
|
|
|
ExecStartPre=-/sbin/modprobe uio_pci_generic
|
2016-01-20 13:45:36 +01:00
|
|
|
ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
|
2015-12-08 15:45:58 -07:00
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
2019-07-04 11:25:59 +02:00
|
|
|
# Uncomment the following line to enable VPP coredumps on crash
|
|
|
|
# You still need to configure the rest of the system to collect them, see
|
|
|
|
# https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html#core-files
|
|
|
|
# for details
|
|
|
|
#LimitCORE=infinity
|
2015-12-08 15:45:58 -07:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|