Commit Graph

11 Commits

Author SHA1 Message Date
9e23f03ca2 Use non-templated systemd service
The previous setup was broken

This commit also adds some code to check that the database connection is
valid before it starts, as well as refactors the code that splits
between starting and external or internal server.
2025-11-10 00:38:26 +09:00
c2d22ee7f8 flake.lock: bump, Cargo.lock: bump, Cargo.toml: update inputs, format, etc
Some checks failed
Build / build (push) Has been cancelled
Build / check (push) Has been cancelled
Build / docs (push) Has been cancelled
2025-05-07 10:39:10 +02:00
cdb1fb4181 Integrate better with systemd + better logs and protocol usage
This commits adds the following:

- Better systemd integration and usage:
  - More hardening
  - A watchdog thread
  - Journald native logging

as well as

- Better logs
- Some protocol usage fixes
2024-08-20 17:46:40 +02:00
0ce90ab42a list-db -> show-db 2024-08-19 18:58:26 +02:00
48240489a7 Have server notify the client about db connection errors 2024-08-19 16:57:24 +02:00
8fdfe457ac Remove a few TODOs, either solved or converted to issue 2024-08-19 02:43:05 +02:00
cd0b2c3e6d sd_notify(ready) 2024-08-19 00:13:22 +02:00
86b5b47f1e Add some logging 2024-08-18 22:26:00 +02:00
53f19b3d05 Replace socket authentication mechanism with SO_PEERCRED 2024-08-18 22:22:58 +02:00
94c9a54c14 Bump all deps, fix db connection closing issues 2024-08-18 01:33:55 +02:00
af86893acf Rewrite entire codebase to split into client and server 2024-08-17 20:21:05 +02:00