aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/rpm/vpp.service
blob: dd8ee36bd73a90259ddfdc20d25893382f8f9f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Vector Packet Processing Process
After=syslog.target network.target auditd.service

[Service]
ExecStart=/bin/sh -c '/usr/bin/vpe $(cat /etc/vpp/startup.conf | sed -e "s/#.*//")'
Type=simple
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=multi-user.target