9p: -tcp implies -nodbus for remote deployments
This commit is contained in:
parent
aeb933a3c2
commit
39d14eae16
3
main.go
3
main.go
|
|
@ -267,7 +267,8 @@ func runServer(sockPath, pidPath string) {
|
|||
})
|
||||
|
||||
// Start D-Bus adapter (best-effort; pure 9P still works without it).
|
||||
if !*nodbus {
|
||||
// -tcp implies -nodbus (remote/headless deployments have no session bus).
|
||||
if !*nodbus && *tcpAddr == "" {
|
||||
dbusAdapter = startDBus(mgr)
|
||||
dbusAdapter.WatchExisting()
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue