aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/deb/debian/vpp.service
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-05-04 09:42:07 -0400
committerDave Barach <dave@barachs.net>2016-05-04 09:42:20 -0400
commit9942bba79fe81e080ce334111ea7a0cca43dd210 (patch)
tree9cda7471f7d6c4bfb8b6d497e2551a8300a58ed5 /build-root/deb/debian/vpp.service
parentb53693ab0cf0611951867b7e01a4e4fe5d251d2b (diff)
VPP-12: only remove vpp-related files from /dev/shm
Change-Id: I1b6983a6d23d3d2635814cdd307efa25cd5c8b7b Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-root/deb/debian/vpp.service')
-rw-r--r--build-root/deb/debian/vpp.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-root/deb/debian/vpp.service b/build-root/deb/debian/vpp.service
index a2849296cdc..40549856a96 100644
--- a/build-root/deb/debian/vpp.service
+++ b/build-root/deb/debian/vpp.service
@@ -4,10 +4,10 @@ After=network.target
[Service]
Type=simple
-ExecStartPre=-/bin/rm -f /dev/shm/*
+ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
ExecStartPre=-/sbin/modprobe igb_uio
ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
-ExecStopPost=/bin/rm -f /dev/shm/*
+ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Restart=always
[Install]