1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/buildkit/buildkitd.initd
psykose 131165761f
testing/buildkit: new aport
https://github.com/moby/buildkit
Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
2022-06-05 01:09:26 +02:00

19 lines
347 B
Bash

#!/sbin/openrc-run
name="buildkitd"
description="buildkitd builder daemon"
command="/usr/bin/buildkitd"
command_background=true
pidfile="/run/$RC_SVCNAME.pid"
directory="/var/lib/buildkit"
error_log="/var/log/buildkitd.log"
depend() {
need net localmount
after firewall
}
start_pre() {
checkpath -d "$directory"
checkpath -f "$error_log"
}