M sr.ht/builds.sr.ht/APKBUILD => sr.ht/builds.sr.ht/APKBUILD +1 -1
@@ 68,4 68,4 @@ sha512sums="7f8c6abe8bbb7dd910288de9d8af1b65611f4e246e8fd5d7e53e636800938e6cde51
68e4abe868cd16c00d96cc54be62272a2248333bf5ad12bb6519f976f8956bba1c3b2fd7f9d9bc87eb52fa31c9ef1f3ef1f96afccbb8f780ac470a3f2a229b3a builds.sr.ht.confd
a026f953aadb42bb3d0ba1146c4e09aac97f9fe8c1f348d1450fd336a3caa6121d914b259f340ea7a2240e8b28b7c2d7383f1541f8a7fe51cb4119821865fe23 builds.sr.ht.initd
5aa18804ddfee263763b035780679b98cf4877de193c254f24fab7ce56f304556af9a377bfca36635c21b4380892e8d458a420021919934080cc43feda1694c4 builds.sr.ht-worker.confd
-ec75b851c80bfc48b2505ed4165a76d45e8c6be64ecf86ce8a834b3c2d975ff2057ccd9adbf3842fd298f3e7d895e48b7ee74203c8ccf2d73dc5cb0d98f845ec builds.sr.ht-worker.initd"
+8d0a501e76ef704c5eab78dc2cf609b2d033ceeff4f86f36a4b6d27dee9586f7fc855055500626449d57cd9c1fd833ab450b2639b6a85212d0eaf2b4a52bb0a5 builds.sr.ht-worker.initd"
M sr.ht/builds.sr.ht/builds.sr.ht-worker.initd => sr.ht/builds.sr.ht/builds.sr.ht-worker.initd +4 -1
@@ 4,11 4,14 @@ description="builds.sr.ht build worker"
supervisor=supervise-daemon
EXTRA_ARGS=${EXTRA_ARGS:-}
BUILDS_USER=builds
+LOGS=/var/log/builds.sr.ht-worker.log
supervise_daemon_args="-1 $LOGS -2 $LOGS"
-command="/usr/bin/builds.sr.ht-worker -- $EXTRA_ARGS"
+command="/usr/bin/builds.sr.ht-worker"
+command_args="$EXTRA_ARGS"
command_user="$BUILDS_USER:$BUILDS_USER"
pidfile="/run/${RC_SVCNAME}.pid"
start_pre() {
checkpath -f "$LOGS" -m 644 -o "$BUILDS_USER:$BUILDS_USER"
}
+