From cb9cadad578297ffd78fa8a33670bdf1ab669e7e Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Tue, 8 Dec 2015 15:45:58 -0700 Subject: Initial commit of vpp code. Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke --- build-root/rpm/vpp.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 build-root/rpm/vpp.service (limited to 'build-root/rpm/vpp.service') diff --git a/build-root/rpm/vpp.service b/build-root/rpm/vpp.service new file mode 100644 index 00000000000..dd8ee36bd73 --- /dev/null +++ b/build-root/rpm/vpp.service @@ -0,0 +1,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 -- cgit 1.2.3-korg