blob: aa1651c4119715a354309c5070060dd3c5ed9759 [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=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
8ExecStartPre=-/sbin/modprobe uio_pci_generic
Srivatsa Sangli07779152016-04-15 13:59:00 -07009ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Damjan Mariond0f673e2017-01-31 17:29:33 +010010ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Srivatsa Sangli07779152016-04-15 13:59:00 -070011Restart=always
12
13[Install]
14WantedBy=multi-user.target