proxmox-backup/src/tools
Dominik Csapak 9e45e03aef tools/daemon: fix reload with open connections
instead of await'ing the result of 'create_service' directly,
poll it together with the shutdown_future

if we reached that, fork_restart the new daemon, and await
the open future from 'create_service'

this way the old process still handles open connections until they finish,
while we already start a new process that handles new incoming connections

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-11-05 11:14:56 +01:00
..
disks various typo fixes 2020-08-25 18:52:31 +02:00
systemd avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
acl.rs more clippy fixups 2020-10-14 13:58:35 +02:00
apt.rs api: apt: implement support to send notification email on new updates 2020-10-31 22:51:26 +01:00
async_channel_writer.rs tools: add AsyncChannelWriter 2020-10-21 10:04:22 +02:00
async_io.rs update a chunk of stuff to the hyper release 2019-12-13 11:24:41 +01:00
borrow.rs tools: borrow: implement Deref for Tied 2019-02-13 11:03:09 +01:00
broadcast_future.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
cert.rs refactor CertInfo to tools 2020-07-10 11:08:53 +02:00
daemon.rs tools/daemon: fix reload with open connections 2020-11-05 11:14:56 +01:00
disks.rs various typo fixes 2020-08-25 18:52:31 +02:00
file_logger.rs tools: file logger: avoid some possible unwraps in log method 2020-11-02 19:32:22 +01:00
format.rs proxmox-backup-client: use HumanByte to render snapshot size 2020-10-20 11:43:48 +02:00
fs.rs backup: use shared flock for base snapshot 2020-10-15 07:09:34 +02:00
fuse_loop.rs more clippy fixups 2020-10-14 13:58:35 +02:00
http.rs tools: http: add simple general post method 2020-10-27 13:13:00 +01:00
logrotate.rs log rotate: only add .zst to new file after second rotation 2020-11-04 17:16:55 +01:00
loopdev.rs loopdev: add module doc 2020-10-08 08:34:39 +02:00
lru_cache.rs lru_cache: restrict and annotate Send impl 2020-06-19 09:37:34 +02:00
nom.rs fix typo 2020-06-26 09:12:29 +02:00
parallel_handler.rs src/tools/parallel_handler.rs: remove lifetime hacks, require 'static 2020-10-01 14:52:48 +02:00
process_locker.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
runtime.rs src/tools/runtime.rs: implement get_runtime_with_builder 2020-07-07 10:11:04 +02:00
socket.rs tools: socket: fix typo in comment 2020-10-28 21:26:11 +01:00
statistics.rs statistics: covariance(): avoid allocation 2020-06-09 13:57:27 +02:00
std_channel_writer.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
subscription.rs apt auth: add newline to the end 2020-10-27 17:41:30 +01:00
systemd.rs add test for escape_unit 2020-10-21 11:31:24 +02:00
ticket.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
wrapped_reader_stream.rs add AsyncReaderStream 2020-06-23 06:33:31 +02:00
xattr.rs tools/xattr: a char from C is not universally a rust i8 2020-07-19 19:46:27 +02:00
zip.rs tools/zip: fix doc tests 2020-10-21 14:20:16 +02:00