summaryrefslogtreecommitdiff
path: root/rhel/usr_lib_systemd_system_ovsdb-server.service
blob: 46e3e083e9f595f5a423a5b122fc0006205abeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Open vSwitch Database Unit
After=syslog.target
ReloadPropagatedFrom=openvswitch.service
PartOf=openvswitch.service

[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/openvswitch
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
          --no-ovs-vswitchd --no-monitor --system-id=random \
          start $OPTIONS
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd \
           --no-monitor restart $OPTIONS
RuntimeDirectory=openvswitch
RuntimeDirectoryMode=0755