]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kea: fix creating runtime directory in service files
authorYi Zhao <yi.zhao@windriver.com>
Mon, 12 Jan 2026 08:11:56 +0000 (16:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Jan 2026 22:46:04 +0000 (22:46 +0000)
commitd7c2df65f073ade5600ca5c8d45e2fea4280bcd8
tree00c5dc5d9082b9180fbd60db4fc0f38d33668420
parent184bb4e114df1cd3351f1cca6a17b3aec14e60a8
kea: fix creating runtime directory in service files

Create runtime and state directories using RuntimeDirectory and
StateDirectory in systemd service files, rather than creating them via
ExecStartPre. This is a standard approach for systemd[1]. When the
server starts, systemd will automatically create these directories.

Also, add more configuration files to CONFFILES.

[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#RuntimeDirectory=

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/kea/files/kea-dhcp-ddns.service
meta/recipes-connectivity/kea/files/kea-dhcp4.service
meta/recipes-connectivity/kea/files/kea-dhcp6.service
meta/recipes-connectivity/kea/kea_3.0.2.bb