]> git.proxmox.com Git - proxmox-backup.git/log
proxmox-backup.git
5 years agomove normalize_path to tools::normalize_uri_path
Dietmar Maurer [Tue, 7 May 2019 07:44:34 +0000 (09:44 +0200)]
move normalize_path to tools::normalize_uri_path

5 years agosrc/api2/admin/datastore/h2upload.rs: test if version < 2
Dietmar Maurer [Mon, 6 May 2019 08:29:34 +0000 (10:29 +0200)]
src/api2/admin/datastore/h2upload.rs: test if version < 2

We can only upgrade http 1.x connections.

5 years agosrc/client/http_client.rs: request password at creation time
Dietmar Maurer [Tue, 30 Apr 2019 09:44:35 +0000 (11:44 +0200)]
src/client/http_client.rs: request password at creation time

5 years agosrc/server/state.rs: use new BroadcastData helper
Dietmar Maurer [Tue, 30 Apr 2019 08:21:48 +0000 (10:21 +0200)]
src/server/state.rs: use new BroadcastData helper

5 years agosrc/tools/broadcast_future.rs: cleanup, decompose into two classes
Dietmar Maurer [Tue, 30 Apr 2019 06:40:13 +0000 (08:40 +0200)]
src/tools/broadcast_future.rs: cleanup, decompose into two classes

In order to make it more usable.

5 years agotools: add AsyncMutex
Wolfgang Bumiller [Mon, 29 Apr 2019 12:16:15 +0000 (14:16 +0200)]
tools: add AsyncMutex

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/bin/h2test.rs: test h2 upgrade
Dietmar Maurer [Mon, 29 Apr 2019 09:59:18 +0000 (11:59 +0200)]
src/bin/h2test.rs: test h2 upgrade

5 years agorc/client/http_client.rs: add experimental h2 upgrade code
Dietmar Maurer [Mon, 29 Apr 2019 09:57:58 +0000 (11:57 +0200)]
rc/client/http_client.rs: add experimental h2 upgrade code

5 years agosrc/client/http_client.rs: cleanup, make login fully async
Dietmar Maurer [Sun, 28 Apr 2019 08:55:03 +0000 (10:55 +0200)]
src/client/http_client.rs: cleanup, make login fully async

5 years agosrc/tools/broadcast_future.rs: add new constructor new_oneshot()
Dietmar Maurer [Sat, 27 Apr 2019 08:56:49 +0000 (10:56 +0200)]
src/tools/broadcast_future.rs: add new constructor new_oneshot()

To simplify usage. Also added a test case.

5 years agosrc/api2/admin/datastore/h2upload.rs: add test code for http2
Dietmar Maurer [Sat, 27 Apr 2019 06:57:35 +0000 (08:57 +0200)]
src/api2/admin/datastore/h2upload.rs: add test code for http2

5 years agosrc/tools/broadcast_future.rs: new helper class
Dietmar Maurer [Fri, 26 Apr 2019 15:56:41 +0000 (17:56 +0200)]
src/tools/broadcast_future.rs: new helper class

5 years agoproxy: allow .key/.pem files instead of a pkcs12/.pfx file
Wolfgang Bumiller [Fri, 26 Apr 2019 08:44:41 +0000 (10:44 +0200)]
proxy: allow .key/.pem files instead of a pkcs12/.pfx file

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/tools/procfs.rs: clean up tab indentation and use whitespaces instead
Christian Ebner [Wed, 24 Apr 2019 09:49:41 +0000 (11:49 +0200)]
src/tools/procfs.rs: clean up tab indentation and use whitespaces instead

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agouse double-fork for reload
Wolfgang Bumiller [Thu, 25 Apr 2019 11:00:02 +0000 (11:00 +0000)]
use double-fork for reload

To ensure the new process' parent is pid 1, so systemd won't
complain about supervising a process it does not own.

Fixes the following log spam on reloads:
Apr 25 10:50:54 deb-dev systemd[1]: proxmox-backup.service: Supervising process 1625 which is not our child. We'll most likely not notice when it exits.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoadd a wrapper around nix::unistd::pipe2
Wolfgang Bumiller [Thu, 25 Apr 2019 10:50:15 +0000 (10:50 +0000)]
add a wrapper around nix::unistd::pipe2

Using O_CLOEXEC by default, and returning Fd handles to
ensure they get dropped on bail!() or panic!() if the RawFds
aren't used yet.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agotools: add read/write convenience helpers
Wolfgang Bumiller [Thu, 25 Apr 2019 10:49:33 +0000 (10:49 +0000)]
tools: add read/write convenience helpers

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agouse service Type=notify
Wolfgang Bumiller [Thu, 25 Apr 2019 08:38:26 +0000 (08:38 +0000)]
use service Type=notify

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agotools/daemon: add sd_notify wrapper
Wolfgang Bumiller [Thu, 25 Apr 2019 08:35:01 +0000 (08:35 +0000)]
tools/daemon: add sd_notify wrapper

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agodebian/control: whitespace fixup and sorting
Wolfgang Bumiller [Thu, 25 Apr 2019 08:16:21 +0000 (08:16 +0000)]
debian/control: whitespace fixup and sorting

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/tools/procfs.rs: avoid useless allocations
Dietmar Maurer [Wed, 24 Apr 2019 07:35:15 +0000 (09:35 +0200)]
src/tools/procfs.rs: avoid useless allocations

5 years agoproxmox-protocol/src/types.rs: use derive Endian
Dietmar Maurer [Wed, 24 Apr 2019 04:59:12 +0000 (06:59 +0200)]
proxmox-protocol/src/types.rs: use derive Endian

5 years agoproxmox-protocol/src/protocol.rs: derive Endian for DynamicChunk
Dietmar Maurer [Wed, 24 Apr 2019 04:51:54 +0000 (06:51 +0200)]
proxmox-protocol/src/protocol.rs: derive Endian for DynamicChunk

5 years agosrc/tools/procfs.rs: add tests for read_proc_net_route() and read_proc_net_ipv6_route()
Christian Ebner [Tue, 23 Apr 2019 15:04:31 +0000 (17:04 +0200)]
src/tools/procfs.rs: add tests for read_proc_net_route() and read_proc_net_ipv6_route()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/tools/procfs.rs: refactor read_proc_net_route() and read_proc_net_ipv6_route()
Christian Ebner [Tue, 23 Apr 2019 15:04:30 +0000 (17:04 +0200)]
src/tools/procfs.rs: refactor read_proc_net_route() and read_proc_net_ipv6_route()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/tools/procfs.rs: implement read_proc_net_ipv6_route()
Christian Ebner [Tue, 23 Apr 2019 10:44:56 +0000 (12:44 +0200)]
src/tools/procfs.rs: implement read_proc_net_ipv6_route()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agouse endian_trait arrays feature
Dietmar Maurer [Tue, 23 Apr 2019 12:23:36 +0000 (14:23 +0200)]
use endian_trait arrays feature

5 years agocleanup: avoid compiler warnings
Dietmar Maurer [Tue, 23 Apr 2019 10:17:24 +0000 (12:17 +0200)]
cleanup: avoid compiler warnings

5 years agosrc/api_schema/router.rs: fix typo (subdira -> subdir)
Dietmar Maurer [Tue, 16 Apr 2019 10:20:17 +0000 (12:20 +0200)]
src/api_schema/router.rs: fix typo (subdira -> subdir)

5 years agosrc/api_schema/router.rs: implement list_subdirs() helper
Dietmar Maurer [Tue, 16 Apr 2019 10:07:02 +0000 (12:07 +0200)]
src/api_schema/router.rs: implement list_subdirs() helper

5 years agoapi_schema: allow generic api handler functions
Wolfgang Bumiller [Tue, 16 Apr 2019 08:36:04 +0000 (10:36 +0200)]
api_schema: allow generic api handler functions

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/tools/procfs.rs: implement read_proc_net_route()
Christian Ebner [Mon, 15 Apr 2019 08:48:43 +0000 (10:48 +0200)]
src/tools/procfs.rs: implement read_proc_net_route()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/api2/node/services.rs: add proxmox-backup-proxy service
Dietmar Maurer [Mon, 15 Apr 2019 07:48:02 +0000 (09:48 +0200)]
src/api2/node/services.rs: add proxmox-backup-proxy service

5 years agosrc/server/worker_task.rs: implement abort channel
Dietmar Maurer [Mon, 15 Apr 2019 07:38:05 +0000 (09:38 +0200)]
src/server/worker_task.rs: implement abort channel

5 years agosrc/api2/admin/datastore/pxar.rs: create worker task for file upload
Dietmar Maurer [Mon, 15 Apr 2019 06:38:14 +0000 (08:38 +0200)]
src/api2/admin/datastore/pxar.rs: create worker task for file upload

5 years agosrc/server/worker_task.rs_ do not write ERROR: prefix into task index
Dietmar Maurer [Mon, 15 Apr 2019 06:37:13 +0000 (08:37 +0200)]
src/server/worker_task.rs_ do not write ERROR: prefix into task index

5 years agosrc/server/worker_task.rs: move common code into log_result
Dietmar Maurer [Mon, 15 Apr 2019 05:49:03 +0000 (07:49 +0200)]
src/server/worker_task.rs: move common code into log_result

Make new() pub

5 years agosrc/server/upid.rs: check for illegal characters
Dietmar Maurer [Mon, 15 Apr 2019 05:47:51 +0000 (07:47 +0200)]
src/server/upid.rs: check for illegal characters

5 years agosrc/tools/procfs.rs: implement read_proc_net_dev()
Christian Ebner [Fri, 12 Apr 2019 11:21:22 +0000 (13:21 +0200)]
src/tools/procfs.rs: implement read_proc_net_dev()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/tools/procfs.rs: implement read_memory_usage()
Christian Ebner [Fri, 12 Apr 2019 11:21:21 +0000 (13:21 +0200)]
src/tools/procfs.rs: implement read_memory_usage()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/tools/procfs.rs: Rename variable and struct to be more consistent
Christian Ebner [Fri, 12 Apr 2019 09:52:43 +0000 (11:52 +0200)]
src/tools/procfs.rs: Rename variable and struct to be more consistent

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/tools/procfs.rs: simplify read_cpuinfo()
Christian Ebner [Fri, 12 Apr 2019 09:52:42 +0000 (11:52 +0200)]
src/tools/procfs.rs: simplify read_cpuinfo()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agoGUI: fix borders
Dietmar Maurer [Thu, 11 Apr 2019 10:18:04 +0000 (12:18 +0200)]
GUI: fix borders

5 years agosrc/api2/admin/datastore.rs: implement API to return last GC status
Dietmar Maurer [Thu, 11 Apr 2019 10:04:25 +0000 (12:04 +0200)]
src/api2/admin/datastore.rs: implement API to return last GC status

5 years agowww/DataStoreConfig.js: popup task viewer when starting GC
Dietmar Maurer [Thu, 11 Apr 2019 09:16:30 +0000 (11:16 +0200)]
www/DataStoreConfig.js: popup task viewer when starting GC

5 years agosrc/server/command_socket.rs: check control socket permissions
Dietmar Maurer [Thu, 11 Apr 2019 08:51:59 +0000 (10:51 +0200)]
src/server/command_socket.rs: check control socket permissions

5 years agosrc/server/worker_task.rs: change task list sort order - latest on top
Dietmar Maurer [Thu, 11 Apr 2019 07:43:33 +0000 (09:43 +0200)]
src/server/worker_task.rs: change task list sort order - latest on top

5 years agotests/worker-task-abort.rs: test abort worker
Dietmar Maurer [Thu, 11 Apr 2019 06:26:52 +0000 (08:26 +0200)]
tests/worker-task-abort.rs: test abort worker

5 years agosrc/server/worker_task.rs: catch panics in worker threads
Dietmar Maurer [Thu, 11 Apr 2019 05:55:02 +0000 (07:55 +0200)]
src/server/worker_task.rs: catch panics in worker threads

5 years agotools/daemon: dup the TcpListener file descriptor
Wolfgang Bumiller [Wed, 10 Apr 2019 13:17:11 +0000 (15:17 +0200)]
tools/daemon: dup the TcpListener file descriptor

Now that we let hyper shutdown gracefully we need an owned
version of the listening socket to prevent it from closing
before running the reload preparations.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agotools: add Fd helper
Wolfgang Bumiller [Wed, 10 Apr 2019 13:14:05 +0000 (15:14 +0200)]
tools: add Fd helper

stores a raw file descriptor with a drop handler for
safekeeping in closures

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years ago/src/tools: Cleanup tempfiles in folder
Christian Ebner [Wed, 10 Apr 2019 11:29:10 +0000 (13:29 +0200)]
/src/tools: Cleanup tempfiles in folder

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/api2/node/tasks.rs: implement stop_task api
Dietmar Maurer [Wed, 10 Apr 2019 11:55:05 +0000 (13:55 +0200)]
src/api2/node/tasks.rs: implement stop_task api

5 years agosrc/server/worker_task.rs: log message when we call request_abort()
Dietmar Maurer [Wed, 10 Apr 2019 11:54:28 +0000 (13:54 +0200)]
src/server/worker_task.rs: log message when we call request_abort()

5 years agosrc/tools/procfs.rs: implement read_cpuinfo()
Christian Ebner [Wed, 10 Apr 2019 09:28:50 +0000 (11:28 +0200)]
src/tools/procfs.rs: implement read_cpuinfo()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/server/worker_task.rs: implement abort_worker (via command_socket)
Dietmar Maurer [Wed, 10 Apr 2019 10:42:24 +0000 (12:42 +0200)]
src/server/worker_task.rs: implement abort_worker (via command_socket)

5 years agosrc/server/command_socket.rs: correctly handle/spawn handle parallel connections
Dietmar Maurer [Wed, 10 Apr 2019 09:05:00 +0000 (11:05 +0200)]
src/server/command_socket.rs: correctly handle/spawn handle parallel connections

5 years agosrc/server/worker_task.rs: use abstract socket
Dietmar Maurer [Wed, 10 Apr 2019 07:03:17 +0000 (09:03 +0200)]
src/server/worker_task.rs: use abstract socket

5 years agostart hyper server using with_graceful_shutdown()
Dietmar Maurer [Wed, 10 Apr 2019 06:24:32 +0000 (08:24 +0200)]
start hyper server using with_graceful_shutdown()

Without, hyper keeps some futures running, and the server does not
correctly shutdown.

5 years agosrc/tools/procfs.rs: avoid compiler warning
Dietmar Maurer [Wed, 10 Apr 2019 04:40:29 +0000 (06:40 +0200)]
src/tools/procfs.rs: avoid compiler warning

5 years agosrc/tools/procfs.rs: implement read_meminfo()
Christian Ebner [Tue, 9 Apr 2019 12:58:20 +0000 (14:58 +0200)]
src/tools/procfs.rs: implement read_meminfo()

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agosrc/api2/node/tasks.rs: fix task status api
Dietmar Maurer [Tue, 9 Apr 2019 13:12:20 +0000 (15:12 +0200)]
src/api2/node/tasks.rs: fix task status api

5 years agosrc/server/worker_task.rs: speedup upid_read_status()
Dietmar Maurer [Tue, 9 Apr 2019 13:11:48 +0000 (15:11 +0200)]
src/server/worker_task.rs: speedup upid_read_status()

5 years agosrc/api2/node.rs: add node parameter
Dietmar Maurer [Tue, 9 Apr 2019 12:43:30 +0000 (14:43 +0200)]
src/api2/node.rs: add node parameter

5 years agosrc/server/command_socket.rs: code cleanup - fix error message
Dietmar Maurer [Tue, 9 Apr 2019 10:47:42 +0000 (12:47 +0200)]
src/server/command_socket.rs: code cleanup - fix error message

5 years agosrc/server/worker_task.rs: implement task control socket
Dietmar Maurer [Tue, 9 Apr 2019 10:15:06 +0000 (12:15 +0200)]
src/server/worker_task.rs: implement task control socket

5 years agosrc/server/command_socket.rs: implement auto_remove flag
Dietmar Maurer [Tue, 9 Apr 2019 09:47:23 +0000 (11:47 +0200)]
src/server/command_socket.rs: implement auto_remove flag

Remove the socket file on close.

5 years agosrc/server/upid.rs: moved code into separate file
Dietmar Maurer [Mon, 8 Apr 2019 16:43:26 +0000 (18:43 +0200)]
src/server/upid.rs: moved code into separate file

5 years agosrc/server/command_socket.rs: simple command socket
Dietmar Maurer [Mon, 8 Apr 2019 15:59:39 +0000 (17:59 +0200)]
src/server/command_socket.rs: simple command socket

5 years agosrc/tools/daemon.rs: use new ServerState handler
Dietmar Maurer [Mon, 8 Apr 2019 12:00:23 +0000 (14:00 +0200)]
src/tools/daemon.rs: use new ServerState handler

5 years agoimplement server state/signal handling, depend on tokio-signal
Dietmar Maurer [Mon, 8 Apr 2019 10:21:29 +0000 (12:21 +0200)]
implement server state/signal handling, depend on tokio-signal

5 years agosrc/api2/node/tasks.rs: start upid API
Dietmar Maurer [Sun, 7 Apr 2019 12:36:57 +0000 (14:36 +0200)]
src/api2/node/tasks.rs: start upid API

5 years agosrc/server/worker_task.rs: implement is_active()
Dietmar Maurer [Sun, 7 Apr 2019 12:36:25 +0000 (14:36 +0200)]
src/server/worker_task.rs: implement is_active()

5 years agosrc/server/worker_task.rs: make log_path a method on UPID
Dietmar Maurer [Sun, 7 Apr 2019 11:51:46 +0000 (13:51 +0200)]
src/server/worker_task.rs: make log_path a method on UPID

5 years agosrc/api2/node/tasks.rs: implement userfilter
Dietmar Maurer [Sun, 7 Apr 2019 11:17:19 +0000 (13:17 +0200)]
src/api2/node/tasks.rs: implement userfilter

5 years agosrc/api2/node/tasks.rs: correctly handle start parameter
Dietmar Maurer [Sun, 7 Apr 2019 10:41:24 +0000 (12:41 +0200)]
src/api2/node/tasks.rs: correctly handle start parameter

5 years agosrc/api2/node/tasks.rs: implement list_tasks
Dietmar Maurer [Sun, 7 Apr 2019 10:18:58 +0000 (12:18 +0200)]
src/api2/node/tasks.rs: implement list_tasks

5 years agosrc/backup/datastore.rs: pass WorkerTask to GC
Dietmar Maurer [Sat, 6 Apr 2019 15:57:38 +0000 (17:57 +0200)]
src/backup/datastore.rs: pass WorkerTask to GC

So that we can log to the task log file.

5 years agosrc/server/worker_task.rs: carefully handle file permissions
Dietmar Maurer [Sat, 6 Apr 2019 15:53:12 +0000 (17:53 +0200)]
src/server/worker_task.rs: carefully handle file permissions

5 years agosrc/tools.rs: implement create_dir_chown
Dietmar Maurer [Sat, 6 Apr 2019 14:50:23 +0000 (16:50 +0200)]
src/tools.rs: implement create_dir_chown

Combinded mkdir with chown.

5 years agosrc/tools.rs: implement file_set_contents_full()
Dietmar Maurer [Sat, 6 Apr 2019 11:53:43 +0000 (13:53 +0200)]
src/tools.rs: implement file_set_contents_full()

5 years ago src/api2/admin/datastore.rs: use new WorkerTask::new_thread()
Dietmar Maurer [Sat, 6 Apr 2019 09:27:23 +0000 (11:27 +0200)]
 src/api2/admin/datastore.rs: use new WorkerTask::new_thread()

5 years agotests/catar.rs: make it compile again
Dietmar Maurer [Sat, 6 Apr 2019 09:26:17 +0000 (11:26 +0200)]
tests/catar.rs: make it compile again

5 years agosrc/tools/file_logger.rs: fix test
Dietmar Maurer [Sat, 6 Apr 2019 09:24:37 +0000 (11:24 +0200)]
src/tools/file_logger.rs: fix test

5 years agosrc/server/worker_task.rs: return upid_str
Dietmar Maurer [Sat, 6 Apr 2019 09:23:53 +0000 (11:23 +0200)]
src/server/worker_task.rs: return upid_str

5 years agosrc/server/worker_task.rs: implement read_task_list()
Dietmar Maurer [Sat, 6 Apr 2019 08:17:11 +0000 (10:17 +0200)]
src/server/worker_task.rs: implement read_task_list()

5 years agosrc/server/worker_task.rs: improve UPID format description
Dietmar Maurer [Sat, 6 Apr 2019 07:36:50 +0000 (09:36 +0200)]
src/server/worker_task.rs: improve UPID format description

5 years agosrc/server.rs: improve crate layout
Dietmar Maurer [Sat, 6 Apr 2019 07:17:25 +0000 (09:17 +0200)]
src/server.rs: improve crate layout

5 years agosrc/server/worker_task.rs: implement persistent task list
Dietmar Maurer [Fri, 5 Apr 2019 10:37:35 +0000 (12:37 +0200)]
src/server/worker_task.rs: implement persistent task list

5 years agosrc/tools/procfs.rs: implement read_proc_uptime and read_proc_uptime_ticks
Christian Ebner [Thu, 4 Apr 2019 15:08:30 +0000 (17:08 +0200)]
src/tools/procfs.rs: implement read_proc_uptime and read_proc_uptime_ticks

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agoprocfs: implement check_process_running and check_process_running_pstart
Christian Ebner [Thu, 4 Apr 2019 11:28:14 +0000 (13:28 +0200)]
procfs: implement check_process_running and check_process_running_pstart

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agoserver/worker_task.rs: implement UPID parser
Dietmar Maurer [Thu, 4 Apr 2019 11:49:35 +0000 (13:49 +0200)]
server/worker_task.rs: implement UPID parser

5 years agosrc/tools.rs: file_get_json() - add new default parameter
Dietmar Maurer [Thu, 4 Apr 2019 10:24:18 +0000 (12:24 +0200)]
src/tools.rs: file_get_json() - add new default parameter

5 years agosrc/tools/procfs.rs: split regex into several lines
Dietmar Maurer [Thu, 4 Apr 2019 07:25:19 +0000 (09:25 +0200)]
src/tools/procfs.rs: split regex into several lines

5 years agosrc/server/worker_task.rs: implement task registry
Dietmar Maurer [Thu, 4 Apr 2019 06:58:39 +0000 (08:58 +0200)]
src/server/worker_task.rs: implement task registry

5 years agosrc/tools/procfs.rs: use libc::pid_t
Dietmar Maurer [Thu, 4 Apr 2019 06:05:43 +0000 (08:05 +0200)]
src/tools/procfs.rs: use libc::pid_t

5 years agosrc/tools/file_logger.rs: new - accept AsRef<Path>
Dietmar Maurer [Wed, 3 Apr 2019 12:13:33 +0000 (14:13 +0200)]
src/tools/file_logger.rs: new - accept AsRef<Path>

5 years agosrc/tools/procfs.rs: start helper tools to read procfs
Dietmar Maurer [Wed, 3 Apr 2019 11:39:20 +0000 (13:39 +0200)]
src/tools/procfs.rs: start helper tools to read procfs

5 years agosrc/tools/file_logger.rs: change timestamp format to rfc3339
Dietmar Maurer [Wed, 3 Apr 2019 06:58:43 +0000 (08:58 +0200)]
src/tools/file_logger.rs: change timestamp format to rfc3339

5 years agoabort GC on server shutdown
Dietmar Maurer [Mon, 1 Apr 2019 10:13:02 +0000 (12:13 +0200)]
abort GC on server shutdown