summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Jaenke <prj@rootwyrm.com>2023-09-03 16:20:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2023-09-04 06:47:46 +0000
commita1dbc936b0e7bf59ca0a01e53b8a182abec9eb0b (patch)
tree6893b9a95c8d3941cbcc81189af544d2764372fd
parent0506a4e7c1508a35608ea1cf45fc5ac15a6e4007 (diff)
downloadaports-a1dbc936b0e7bf59ca0a01e53b8a182abec9eb0b.zip
Fix missing pid directory, which breaks openrc service
-rw-r--r--main/distcc/distcc.pre-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/distcc/distcc.pre-install b/main/distcc/distcc.pre-install
index ef4cf195d1b..9bcf1d6a89a 100644
--- a/main/distcc/distcc.pre-install
+++ b/main/distcc/distcc.pre-install
@@ -2,5 +2,7 @@
addgroup -S distcc 2>/dev/null
adduser -S -D -H -h /dev/null -s /sbin/nologin -G distcc -g distcc distcc 2>/dev/null
+mkdir -m644 /var/run/distccd
+chown distcc:distcc /var/run/distccd
exit 0