Private
Public Access
1
0

fix: OpenRC init script - change ownership from linux-patch-api:linux-patch-api to root:root

The system user was removed from all install scripts but the OpenRC init script
still referenced linux-patch-api:linux-patch-api in checkpath. This would cause
the service to fail on Alpine because the user does not exist.
This commit is contained in:
2026-05-20 14:57:53 +00:00
parent e033cb8536
commit bb0848a151

View File

@ -17,10 +17,10 @@ depend() {
# Create required directories before starting
start_pre() {
checkpath --directory --owner linux-patch-api:linux-patch-api --mode 0755 \
checkpath --directory --owner root:root --mode 0755 \
/run/linux-patch-api \
/var/log/linux-patch-api \
/var/lib/linux-patch-api \
/var/log/linux_patch_api \
/var/lib/linux_patch_api \
/etc/linux_patch_api/certs
# Ensure config files exist