summaryrefslogtreecommitdiff
path: root/rhel/usr_lib_systemd_system_openvswitch-nonetwork.service
blob: e4c2a668c1965a92b8cd4ac26a16ce425cc7da2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Open vSwitch Internal Unit
After=syslog.target
PartOf=openvswitch.service
Wants=openvswitch.service

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/openvswitch
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl start \
          --system-id=random $OPTIONS
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
RuntimeDirectory=openvswitch
RuntimeDirectoryMode=0755