Skip to content

Commit

Permalink
Merge pull request #2331 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2316-to-release-4.6

Bug 1914910: Add a prestart line to change ownership of openvswitch dir
  • Loading branch information
openshift-merge-robot committed Jan 21, 2021
2 parents a72f402 + 7c6fd2d commit 29c8fa3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/common/_base/units/ovs-vswitchd.service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ dropins:
contents: |
[Service]
Restart=always
ExecStartPre=-/bin/sh -c '/usr/bin/chown -R :$${OVS_USER_ID##*:} /var/lib/openvswitch'
ExecStartPre=-/bin/sh -c '/usr/bin/chown -R :$${OVS_USER_ID##*:} /etc/openvswitch'
ExecStartPre=-/bin/sh -c '/usr/bin/chown -R :$${OVS_USER_ID##*:} /run/openvswitch'

0 comments on commit 29c8fa3

Please sign in to comment.