daemon in config.yaml
A top-level key of ~/.devlanes/config.yaml.
daemon
Section titled “daemon”Type: mapping.
The daemon’s lifetime: whether it stops on its own once nothing runs and no TUI is open.
daemon: exit_when_idle: falsedaemonThe daemon's lifetime: whether it stops on its own once nothing runs and no TUI is open.
Config referencedaemon.exit_when_idleStop the daemon about 15 seconds after the last TUI, or command that shows progress, closes, once nothing runs or starts, no box or client is connected or waiting to reconnect, and no pairing code is outstanding. A daemon that nothing ever watched this way, such as one only scripts or agents used, waits about 5 minutes instead. The next devlanes command starts it again. Containers keep running either way, but their hostnames answer only while the daemon runs. Defaults to true. Only a daemon a command started on demand exits. One installed with devlanes daemon install keeps running.
daemon.exit_when_idle
Section titled “daemon.exit_when_idle”Type: boolean. Default: true.
Stop the daemon about 15 seconds after the last TUI, or command that shows progress, closes, once nothing runs or starts, no box or client is connected or waiting to reconnect, and no pairing code is outstanding. A daemon that nothing ever watched this way, such as one only scripts or agents used, waits about 5 minutes instead. The next devlanes command starts it again. Containers keep running either way, but their hostnames answer only while the daemon runs. Defaults to true. Only a daemon a command started on demand exits. One installed with devlanes daemon install keeps running.
daemon: exit_when_idle: truedaemonThe daemon's lifetime: whether it stops on its own once nothing runs and no TUI is open.
Config referencedaemon.exit_when_idleStop the daemon about 15 seconds after the last TUI, or command that shows progress, closes, once nothing runs or starts, no box or client is connected or waiting to reconnect, and no pairing code is outstanding. A daemon that nothing ever watched this way, such as one only scripts or agents used, waits about 5 minutes instead. The next devlanes command starts it again. Containers keep running either way, but their hostnames answer only while the daemon runs. Defaults to true. Only a daemon a command started on demand exits. One installed with devlanes daemon install keeps running.