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

[Service]
Type=simple
ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
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