correr openrc paralelo
This commit is contained in:
parent
1a9b64d503
commit
9a457d3258
2 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
|
||||
rootfs.ext4
|
||||
rootfs.qcow2
|
||||
fireactions
|
||||
|
|
|
@ -10,6 +10,9 @@ echo https://dl-cdn.alpinelinux.org/alpine/v3.18/community >> /rootfs/etc/apk/re
|
|||
apk add --initdb --root /rootfs alpine-base dropbear util-linux dropbear-dbclient dhcpcd
|
||||
"
|
||||
|
||||
# gotta go fast
|
||||
echo 'rc_parallel="YES"' >> "$dir"/etc/rc.conf
|
||||
|
||||
mkdir -p "$dir"/usr/local/sbin
|
||||
go build -tags=netgo -o "$dir"/usr/local/sbin/fireactions-agent ./agent
|
||||
# https://github.com/OpenRC/openrc/blob/master/service-script-guide.md
|
||||
|
|
Loading…
Reference in a new issue