]> git.droids-corp.org - dpdk.git/commit
support systemd service convention for runtime directory
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 9 Feb 2022 06:54:02 +0000 (22:54 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 9 Feb 2022 18:12:40 +0000 (19:12 +0100)
commit1835a22f342f23ae31e1fd778a997139ae4d2ca9
treef14a204ed7b1e6404795fea4875360a3d67dabb7
parent36514d8dfafa22dbf0b784f705086e279e1c1e41
support systemd service convention for runtime directory

Systemd.exec supports configuring the runtime directory of a service
via RuntimeDirectory=. This creates the directory with the necessary
permissions which actual service may not have if running in container.

The change to DPDK is to look for the environment RUNTIME_DIRECTORY
first and use that in preference to the fallback alternatives.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
lib/eal/linux/eal.c
usertools/dpdk-telemetry.py