mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-11-06 15:22:44 +08:00
1. Restructures the README into installation, quickstart, deployment, configuration, jobs and operation, and shortens it to user-facing prose. Option details are left to `config.example.yaml` and `docs/`, existing heading anchors are kept where possible. 2. FreeBSD builds used the Docker stub, so `docker://` labels, services and Docker actions failed there. The Docker code works on FreeBSD against a remote daemon, so it is enabled, and host jobs report `runner.os` as `FreeBSD`. 3. `make build` on Windows now writes `gitea-runner.exe`, taking the suffix from `go env GOEXE`. Reviewed-on: https://gitea.com/gitea/runner/pulls/1367 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
13 lines
279 B
Go
13 lines
279 B
Go
// Copyright 2026 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
//go:build !WITHOUT_DOCKER && (darwin || netbsd || freebsd)
|
|
|
|
package container
|
|
|
|
import "syscall"
|
|
|
|
func sshSysProcAttr() *syscall.SysProcAttr {
|
|
return &syscall.SysProcAttr{Setsid: true}
|
|
}
|