1 # See ovn-controller(8) for details about ovn-controller.
3 # To customize the ovn-controller service, you may create a configuration file
4 # in the /etc/systemd/system/ovn-controller.d/ directory. For example, to specify
5 # additional options to be passed to the "ovn-ctl start_controller" command, you
6 # could place the following contents in
7 # /etc/systemd/system/ovn-controller.d/local.conf:
10 # Environment="OVN_CONTROLLER_OPTS=--ovn-controller-log=-vconsole:emer -vsyslog:err -vfile:info"
12 # Alternatively, you may specify environment variables in the file /etc/sysconfig/ovn-controller:
14 # OVN_CONTROLLER_OPTS="--ovn-controller-log=-vconsole:emer -vsyslog:err -vfile:info"
17 Description=OVN controller daemon
19 Requires=openvswitch.service
20 After=openvswitch.service
25 EnvironmentFile=-/etc/sysconfig/ovn-controller
26 ExecStart=/usr/share/openvswitch/scripts/ovn-ctl --no-monitor \
27 start_controller $OVN_CONTROLLER_OPTS
28 ExecStop=/usr/share/openvswitch/scripts/ovn-ctl stop_controller
31 WantedBy=multi-user.target