net-misc/openvswitch: fix ovs-vswitchd.service
authorGeaaru <geaaru@gmail.com>
Sun, 18 Dec 2016 18:36:30 +0000 (19:36 +0100)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 18 Dec 2016 19:03:18 +0000 (13:03 -0600)
Package-Manager: portage-2.3.0
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
net-misc/openvswitch/files/ovs-vswitchd.service

index 266bb0ace884bead1b2bc07a1c6c23947376a848..a573a503e14c33dc631d58479ee8989413767873 100644 (file)
@@ -7,7 +7,9 @@ Requires=ovsdb-server.service
 After=ovsdb-server.service
 
 [Service]
-ExecStart=/usr/sbin/ovs-vswitchd --mlockall --monitor unix:/var/run/openvswitch/db.sock
+# --pidfile options is needed for create file used
+# by ovs-appctl command.
+ExecStart=/usr/sbin/ovs-vswitchd --mlockall --monitor unix:/var/run/openvswitch/db.sock --pidfile
 
 [Install]
 WantedBy=multi-user.target