streamd: serve start/stop/update, streamd.yaml, egress, module panel fixes
- Add streamd serve start|stop|restart|status|update with auto-written streamd.yaml - Panel modules: STREAMD_MODULES_DIR for describe, YAML channel fallback, textarea value fix - Per-stream WireGuard/SOCKS egress profiles + Settings UI - Drop drm-* from release builds; track streamd-bg.sh / streamd-update.sh wrappers - Docs: streamd-server-setup lifecycle and update flow
This commit is contained in:
parent
da8e1123ec
commit
8fc7e4c0b8
57 changed files with 4031 additions and 257 deletions
|
|
@ -92,7 +92,6 @@ func Ensure(root string) (created []string, err error) {
|
|||
}
|
||||
|
||||
// If streamd is not already under bin/, copy it there for 1:1 layout.
|
||||
// Also keep a drm.exe compat copy for one release when missing.
|
||||
if err := ensureBinHost(root); err != nil {
|
||||
return created, err
|
||||
}
|
||||
|
|
@ -105,10 +104,7 @@ func ensureBinHost(root string) error {
|
|||
return nil
|
||||
}
|
||||
exe, _ = filepath.EvalSymlinks(exe)
|
||||
if err := copyExeIfMissing(exe, filepath.Join(root, "bin", "streamd.exe")); err != nil {
|
||||
return err
|
||||
}
|
||||
return copyExeIfMissing(exe, filepath.Join(root, "bin", "drm.exe"))
|
||||
return copyExeIfMissing(exe, filepath.Join(root, "bin", "streamd.exe"))
|
||||
}
|
||||
|
||||
func copyExeIfMissing(src, dest string) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue