vandelay daemon¶
Install and manage the background daemon for 24/7 operation.
Usage¶
Subcommands¶
install¶
Install the daemon as a system service:
- Linux: Creates a systemd user unit (
~/.config/systemd/user/vandelay.service) - macOS: Creates a launchd plist (
~/Library/LaunchAgents/com.vandelay.agent.plist) - Windows: Creates a PID file at
~/.vandelay/vandelay.pidand launches a detached background process
uninstall¶
Remove the daemon service:
start / stop / restart¶
Control the daemon:
status¶
Check if the daemon is running:
logs¶
View daemon logs:
How It Works¶
The daemon runs vandelay start --server as a background service. It:
- Starts the FastAPI server
- Processes messages from all channels
- Runs the scheduler engine for cron jobs and heartbeat
- Restarts automatically if it crashes
Working Directory¶
The daemon runs from the user's home directory (~), not from ~/.vandelay. This ensures tools like shell and file operate relative to the home directory.
Manual Control¶
On Linux, you can also manage the daemon directly: