add alloy

This commit is contained in:
iceBear67
2026-07-08 22:13:27 +08:00
parent 06ad25f8e7
commit 708b689e78
9 changed files with 129 additions and 19 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/sbin/openrc-run
depend() {
need docker net
}
supervisor="supervise-daemon"
restart_max=5
restart_delay=10
command="/usr/bin/alloy"
pidfile="/run/${RC_SVCNAME}.pid"
+4
View File
@@ -4,6 +4,10 @@ depend() {
need docker tsdns
}
start_pre() {
docker pull git.sfclub.cc/cloud/workspace-image:latest
}
command="/usr/bin/bubble"
command_args="-config /daemon/config.yaml 2>&1"
pidfile="/run/${RC_SVCNAME}.pid"
+1 -1
View File
@@ -5,7 +5,7 @@ depend() {
}
supervisor="supervise-daemon"
restart_max=0
restart_max=5
restart_delay=10
command="/usr/bin/tsdns"
-7
View File
@@ -1,7 +0,0 @@
#!/sbin/openrc-run
depend() {
need docker net
}
command="/usr/bin/update-images"