LinuxCommandLibrary

pueue-shutdown

Gracefully shutdown the Pueue daemon

TLDR

Shutdown the daemon without a service manager

$ pueue shutdown
copy

SYNOPSIS

pueue-shutdown

DESCRIPTION

pueue-shutdown gracefully shuts down the Pueue daemon. This ensures that all currently running tasks are finished or properly terminated before the daemon exits.
It signals the daemon process, causing it to stop accepting new tasks and initiating a controlled shutdown sequence.
This command is essential for stopping Pueue without potentially losing task data or causing inconsistencies in the task queue.
Using the kill command directly might lead to loss of jobs. Pueue stores all task data in a local database. A direct interruption without using the dedicated shutdown command can lead to issues such as database corruption and lost task contexts.

IMPORTANT CONSIDERATIONS

Using pueue-shutdown is the preferred method for stopping the Pueue daemon. Avoid using 'kill' directly on the Pueue process unless absolutely necessary, as it can lead to data loss.

SEE ALSO

Copied to clipboard