Skip to content

Daemon

WarpDL uses a daemon architecture where a background process manages all downloads.

CLI Command → Unix Socket/Named Pipe → Daemon → Download Engine

The daemon:

  • Runs in the background
  • Manages multiple concurrent downloads
  • Persists state across CLI sessions
  • Handles retry and resume logic

The daemon starts automatically when you run any download command. To start it manually:

Terminal window
warpdl daemon
Terminal window
warpdl stop-daemon
PlatformDefault IPC
Linux/macOSUnix socket at $TMPDIR/warpdl.sock (defaults to /tmp/warpdl.sock)
WindowsNamed pipe \\.\pipe\warpdl

To customize the socket path:

Terminal window
export WARPDL_SOCKET_PATH=/custom/path.sock

To force TCP connection:

Terminal window
export WARPDL_FORCE_TCP=1
export WARPDL_TCP_PORT=3849

See Service Setup for running the daemon as a system service.