summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/openvswitch/files/ovs-vswitchd.service')
-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 266bb0ace88..a573a503e14 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