aboutsummaryrefslogtreecommitdiffstats
path: root/src/pkg/debian/vpp.service
blob: 2e86941de8b5ee5d2ca4900755393dab4d75c2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=vector packet processing engine
After=network.target

[Service]
Type=simple
ExecStartPre=-/sbin/modprobe uio_pci_generic
ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Restart=always

[Install]
WantedBy=multi-user.target