1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/buildkit/buildkitd.initd
2022-10-25 01:58:45 +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"
}