blob: 2cf9f9194acaa40b35322c4f6d4d8e360e095f04 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001[Unit]
2Description=Vector Packet Processing Process
3After=syslog.target network.target auditd.service
4
5[Service]
Ed Warnicke40c66392016-06-08 14:41:40 -05006ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
7ExecStartPre=-/sbin/modprobe uio_pci_generic
Damjan Marion08ff7e02016-01-20 13:45:36 +01008ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Ed Warnickecb9cada2015-12-08 15:45:58 -07009Type=simple
10Restart=on-failure
11RestartSec=5s
BenoƮt Ganne6d72c172019-07-04 11:25:59 +020012# Uncomment the following line to enable VPP coredumps on crash
13# You still need to configure the rest of the system to collect them, see
14# https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html#core-files
15# for details
16#LimitCORE=infinity
Ed Warnickecb9cada2015-12-08 15:45:58 -070017
18[Install]
19WantedBy=multi-user.target