|
|
@ -59,7 +59,7 @@ func Daemon(path string, args ...string) (int, error) {
|
|
|
|
return pid, nil
|
|
|
|
return pid, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (starcli *StarCmd) SetRunUser(uid, gid uint32) {
|
|
|
|
func (starcli *StarCmd) SetRunUser(uid, gid uint32, groups []uint32) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -69,4 +69,4 @@ func (starcli *StarCmd) Release() error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
starcli.CMD.Process.Release()
|
|
|
|
starcli.CMD.Process.Release()
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|