summaryrefslogtreecommitdiff
path: root/rhel/usr_lib_systemd_system_ovn-controller.service
blob: 9bd2f6674329156ee5d5113d110fd1f0687fce5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# You may override the following variables to customize ovn-controller behavior:
#
#   OVS_DB - Set this variable to the location of the ovsdb server that is
#            serving the Open_vSwitch database for the local ovs-vswitchd.
#            See the manpage for ovn-controller for more details on the
#            format for the db location.
#

[Unit]
Description=OVN controller daemon
After=syslog.target
Requires=openvswitch.service
After=openvswitch.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/share/openvswitch/scripts/ovn-ctl start_controller
ExecStop=/usr/share/openvswitch/scripts/ovn-ctl stop_controller