镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 14:36:47 +00:00
cgroup: add reexec hook
这个提交包含在:
@@ -12,6 +12,7 @@ import (
|
||||
"github.com/pkg/profile"
|
||||
"gopkg.in/op/go-logging.v1"
|
||||
"github.com/urfave/cli"
|
||||
"github.com/moby/moby/pkg/reexec"
|
||||
|
||||
tunasync "github.com/tuna/tunasync/internal"
|
||||
"github.com/tuna/tunasync/manager"
|
||||
@@ -109,6 +110,10 @@ func startWorker(c *cli.Context) error {
|
||||
|
||||
func main() {
|
||||
|
||||
if reexec.Init() {
|
||||
return
|
||||
}
|
||||
|
||||
cli.VersionPrinter = func(c *cli.Context) {
|
||||
var builddate string
|
||||
if buildstamp == "" {
|
||||
|
||||
在新工单中引用
屏蔽一个用户