Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | [Unit] |
2 | Description=Vector Packet Processing Process | ||||
3 | After=syslog.target network.target auditd.service | ||||
4 | |||||
5 | [Service] | ||||
6 | ExecStart=/bin/sh -c '/usr/bin/vpe $(cat /etc/vpp/startup.conf | sed -e "s/#.*//")' | ||||
7 | Type=simple | ||||
8 | Restart=on-failure | ||||
9 | RestartSec=5s | ||||
10 | |||||
11 | [Install] | ||||
12 | WantedBy=multi-user.target |