]> git.proxmox.com Git - proxmox-backup.git/commit
server: use generalized commando socket for worker tasks commands
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 18:13:36 +0000 (19:13 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 18:48:04 +0000 (19:48 +0100)
commita68768cf310bcc08be2298faebf2dea163356c9b
treeb0b82f636066016bfa35842269b908e402c82eed
parentf3df613cb7cf6270a5e8752fc5f54cf23cc8ea38
server: use generalized commando socket for worker tasks commands

Allows to extend the use of that socket in the future, e.g., for log
rotate re-open signaling.

To reflect this we use a more general name, and change the commandos
to a more clear namespace.

Both are actually somewhat a breaking change, but the single real
world issue it should be able to cause is, that one won't be able to
stop task from older daemons, which still use the older abstract
socket name format.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/proxmox-backup-api.rs
src/bin/proxmox-backup-proxy.rs
src/server.rs
src/server/worker_task.rs
tests/worker-task-abort.rs