aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/rpm/vpp.service
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/rpm/vpp.service')
-rw-r--r--build-root/rpm/vpp.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-root/rpm/vpp.service b/build-root/rpm/vpp.service
index fc66b15ccbc..40bf9d48c3b 100644
--- a/build-root/rpm/vpp.service
+++ b/build-root/rpm/vpp.service
@@ -3,6 +3,8 @@ Description=Vector Packet Processing Process
After=syslog.target network.target auditd.service
[Service]
+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
Type=simple
Restart=on-failure