blob: 2e86941de8b5ee5d2ca4900755393dab4d75c2e0 [file] [log] [blame]
Srivatsa Sangli07779152016-04-15 13:59:00 -07001[Unit]
2Description=vector packet processing engine
3After=network.target
4
5[Service]
6Type=simple
Damjan Mariond0f673e2017-01-31 17:29:33 +01007ExecStartPre=-/sbin/modprobe uio_pci_generic
Srivatsa Sangli07779152016-04-15 13:59:00 -07008ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Damjan Mariond0f673e2017-01-31 17:29:33 +01009ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Srivatsa Sangli07779152016-04-15 13:59:00 -070010Restart=always
11
12[Install]
13WantedBy=multi-user.target