mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
16 lines
299 B
Bash
16 lines
299 B
Bash
#!/sbin/openrc-run
|
|
|
|
description="Incus Agent"
|
|
command="/usr/sbin/incus-agent"
|
|
command_args="${INCUS_AGENT_OPTIONS}"
|
|
command_background="true"
|
|
pidfile="/run/incus/${RC_SVCNAME}.pid"
|
|
|
|
depend() {
|
|
before cloud-init cloud-init-local
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory "${pidfile%/*}" --mode 0750
|
|
}
|