blob: 40549856a966c22be8f025342b297fa58e740c29 [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
Dave Barach9942bba2016-05-04 09:42:07 -04007ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Srivatsa Sangli07779152016-04-15 13:59:00 -07008ExecStartPre=-/sbin/modprobe igb_uio
9ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
Dave Barach9942bba2016-05-04 09:42:07 -040010ExecStopPost=/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