projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3492409
)
kea: create /var/run/kea in init script
author
Stijn Tintel
<stijn@linux-ipv6.be>
Mon, 13 Jun 2022 07:42:29 +0000
(10:42 +0300)
committer
Rosen Penev
<rosenp@gmail.com>
Wed, 6 Jul 2022 04:59:34 +0000
(21:59 -0700)
Kea expects /var/run/kea to exist. Without it, errors occur:
Mon Jun 13 10:31:45 2022 daemon.err kea-dhcp6[2977]: Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
net/kea/files/kea.init
patch
|
blob
|
history
diff --git
a/net/kea/files/kea.init
b/net/kea/files/kea.init
index ee4bf88daec6ce0636bd8c371bcaae247f6249e0..0d63c38ab8e7b0ed01ac45d55792948e5c7e29ec 100755
(executable)
--- a/
net/kea/files/kea.init
+++ b/
net/kea/files/kea.init
@@
-8,6
+8,8
@@
BIN_PATH="/usr/sbin"
CONF_PATH="/etc/kea"
start_service() {
+ mkdir -p /var/run/kea
+
config_load "kea"
config_foreach start_kea "service"
}