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 |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |