blob: 4927feb43cdebd310ec47c83412b4a4652d86282 [file] [log] [blame]
Srivatsa Sangli07779152016-04-15 13:59:00 -07001[Unit]
2Description=vector packet processing engine
3After=network.target
4
5[Service]
6Type=simple
Damjan Mariond0f673e2017-01-31 17:29:33 +01007ExecStartPre=-/sbin/modprobe uio_pci_generic
Srivatsa Sangli07779152016-04-15 13:59:00 -07008ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Damjan Mariond0f673e2017-01-31 17:29:33 +01009ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Srivatsa Sangli07779152016-04-15 13:59:00 -070010Restart=always
BenoƮt Ganne6d72c172019-07-04 11:25:59 +020011# 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 Sangli07779152016-04-15 13:59:00 -070016
17[Install]
18WantedBy=multi-user.target