diff options
author | Phillip Jaenke <prj@rootwyrm.com> | 2023-09-03 16:31:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2023-09-04 06:47:46 +0000 |
commit | 196106edceb87cde25e1b14b7cebb7c2553a54f8 (patch) | |
tree | 7b3bdfe87c4c966fb6969512fd6e53a016953d0c | |
parent | a1dbc936b0e7bf59ca0a01e53b8a182abec9eb0b (diff) | |
download | aports-196106edceb87cde25e1b14b7cebb7c2553a54f8.zip |
Switch to checkpath method
-rw-r--r-- | main/distcc/distcc.pre-install | 2 | ||||
-rw-r--r-- | main/distcc/distccd.initd | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/main/distcc/distcc.pre-install b/main/distcc/distcc.pre-install index 9bcf1d6a89a..ef4cf195d1b 100644 --- a/main/distcc/distcc.pre-install +++ b/main/distcc/distcc.pre-install @@ -2,7 +2,5 @@ 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 diff --git a/main/distcc/distccd.initd b/main/distcc/distccd.initd index d8a18435f1d..c67349d3f3b 100644 --- a/main/distcc/distccd.initd +++ b/main/distcc/distccd.initd @@ -20,6 +20,7 @@ start() { #endif ebegin "Starting distccd" + checkpath -d /var/run/distccd -m 644 -o distcc -W chown distcc `dirname ${DISTCCD_PIDFILE}` >/dev/null 2>&1 TMPDIR="${TMPDIR}" \ /sbin/start-stop-daemon --start --quiet --exec ${DISTCCD_EXEC} \ |