mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
19 lines
347 B
Bash
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"
|
|
}
|