summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/openvswitch/files')
-rw-r--r--net-misc/openvswitch/files/ovs-vswitchd.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/openvswitch/files/ovs-vswitchd.service b/net-misc/openvswitch/files/ovs-vswitchd.service
index 266bb0ace884..a573a503e14c 100644
--- a/net-misc/openvswitch/files/ovs-vswitchd.service
+++ b/net-misc/openvswitch/files/ovs-vswitchd.service
@@ -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