-
Notifications
You must be signed in to change notification settings - Fork 153
Configuration
Arne Beer edited this page Apr 12, 2021
·
23 revisions
The default configuration file of Pueue is located in these directories:
- Linux:
~/.config/pueue/pueue.yml. - MacOs:
~/Library/Preferences/pueue/pueue.yml - Windows:
%APPDATA%\Local\pueue
A default configuration file will be generated after starting pueued for the first time.
You can also force pueue to use a specific configuration file with the -c flag for both the daemon and the client.
---
shared:
pueue_directory: /home/user/.local/share/pueue
use_unix_sockets: true
unix_sockets_path: /home/user/.local/share/pueue/pueue_user.socket
host: "localhost"
port: "6924"
daemon_cert: /home/user/.local/share/pueue/certs/daemon.cert
daemon_key: /home/user/.local/share/pueue/certs/daemon.key
shared_secret_path: /home/user/.local/share/pueue/shared_secret
client:
read_local_logs: true
show_confirmation_questions: false
show_expanded_aliases: false
max_status_height: null
daemon:
default_parallel_tasks: 1
pause_all_on_failure: false
pause_group_on_failure: false
callback: ""Task {{ id }}\nCommand: {{ command }}\nPath: {{ path }}\nFinished with status '{{ result }}'\""
groups:
default: 1-
pueue_directoryThe location Pueue uses for its intermediate files and logs. -
use_unix_sockets(Unix only) Whether the daemon should listen on a Unix- or a TCP-socket. -
unix_socket_path(Unix only) The path the unix socket is located at. -
hostThe host the daemon listens on and the client connects to. Only used when in TCP mode. -
portThe port the daemon listens on and the client connects to. Only used when in TCP mode. -
daemon_certThe TLS certificate used for encrypting any TCP traffic. -
daemon_keyThe TLS private key used for encrypting any TCP traffic. -
shared_secret_pathThe path to the file, which contains the secret used for authentication with the daemon.
-
read_local_logsIf the client runs on the same machine as the daemon, logs don't have to be sent via the socket. Instead they can be read directly from the disk. -
show_confirmation_questionsThe client will print warnings that require confirmation for different critical commands. -
show_expanded_aliasesDetermines, whether the original command or the command after expanding any aliases in thepueue_aliasesfile will be shown when callingpueue status. -
dark_modeSwitch to dark colors instead of standard colors in the command output. This option can be helpful in non-standard terminal themes. -
max_status_height[int|null] If a number X is given, all table rows in thestatussubcommand, which have more than X lines will be truncated.
-
default_parallel_tasksDetermines how many tasks should be processed concurrently. -
pause_on_failureIf set totrue, the daemon stops starting new task as soon as a single task fails. Already running tasks will continue. -
callbackThe command that will be called after a task finishes. Can be parameterized -
groupsThis is a list of the groups with their amount of allowed parallel tasks. It's advised to not manipulate this manually, but rather use thegroupsubcommand to create and remove groups and theparallelsubcommand to change any parallelism settings.