From 113f925aa5026ef2b5d57ef6284c1f06da2d4bb7 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 12 May 2021 17:08:08 +0200 Subject: rhel: Use /run instead of /var/run. Systemd unit file generates warnings about PID file path since /var/run is a legacy path so just use /run instead of /var/run. /var/run is a symlink of /run starting from RHEL7 (and any other distribution that uses systemd). Reported-at: https://bugzilla.redhat.com/1952081 Signed-off-by: Timothy Redaelli Acked-by: Flavio Leitner Signed-off-by: Ilya Maximets --- rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service') diff --git a/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service b/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service index 4cd4d7f57..d4d7b204b 100644 --- a/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service +++ b/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service @@ -2,7 +2,7 @@ Description=Open vSwitch Delete Transient Ports After=ovsdb-server.service Before=ovs-vswitchd.service -AssertPathExists=/var/run/openvswitch/db.sock +AssertPathExists=/run/openvswitch/db.sock [Service] Type=oneshot -- cgit v1.2.1