Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Vector Packet Processing Process |
| 3 | After=syslog.target network.target auditd.service |
| 4 | |
| 5 | [Service] |
Ed Warnicke | 40c6639 | 2016-06-08 14:41:40 -0500 | [diff] [blame] | 6 | ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api |
| 7 | ExecStartPre=-/sbin/modprobe uio_pci_generic |
Damjan Marion | 08ff7e0 | 2016-01-20 13:45:36 +0100 | [diff] [blame] | 8 | ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 9 | Type=simple |
| 10 | Restart=on-failure |
| 11 | RestartSec=5s |
BenoƮt Ganne | 6d72c17 | 2019-07-04 11:25:59 +0200 | [diff] [blame] | 12 | # 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 Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 17 | |
| 18 | [Install] |
| 19 | WantedBy=multi-user.target |