Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Delete shared memory segment files when vpp starts
[vpp.git]
/
build-root
/
deb
/
debian
/
vpp.service
diff --git
a/build-root/deb/debian/vpp.service
b/build-root/deb/debian/vpp.service
index
4054985
..
2e86941
100644
(file)
--- a/
build-root/deb/debian/vpp.service
+++ b/
build-root/deb/debian/vpp.service
@@
-4,10
+4,9
@@
After=network.target
[Service]
Type=simple
[Service]
Type=simple
-ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
-ExecStartPre=-/sbin/modprobe igb_uio
+ExecStartPre=-/sbin/modprobe uio_pci_generic
ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
-ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
+ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Restart=always
[Install]
Restart=always
[Install]