Service Setup
Linux (systemd)
Section titled “Linux (systemd)”Create /etc/systemd/system/warpdl.service:
[Unit]Description=WarpDL Download ManagerAfter=network.target
[Service]Type=simpleExecStart=/usr/local/bin/warpdl daemonRestart=on-failureUser=your-username
[Install]WantedBy=multi-user.targetEnable and start:
sudo systemctl enable warpdlsudo systemctl start warpdlmacOS (launchd)
Section titled “macOS (launchd)”Create ~/Library/LaunchAgents/com.warpdl.daemon.plist:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict> <key>Label</key> <string>com.warpdl.daemon</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/warpdl</string> <string>daemon</string> </array> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/></dict></plist>Load the service:
launchctl load ~/Library/LaunchAgents/com.warpdl.daemon.plistWindows Service
Section titled “Windows Service”WarpDL can run as a Windows Service:
# Install as service (requires admin)warpdl service install
# Start the servicewarpdl service start
# Stop the servicewarpdl service stop
# Uninstallwarpdl service uninstall