Commit Graph

9 Commits

Author SHA1 Message Date
a453d785f5 Add systemd service unit file and D-Bus config
The unit file is only for debugging purposes.
The Makefile is used to install (link --runtime), start, stop, and
restart the service, and to see the output (journalctl)
2020-08-30 17:38:49 +02:00
e6ffb3f3e1 Print message when stopping the daemon (SIGTERM)
systemd sends SIGTERM when stopping a service. When running in a tty,
CTRL + C (SIGINT) currently won't print a shutdown message.
2020-08-30 16:37:45 +02:00
bb51ff77b1 Connect to system bus instead of session bus 2020-08-30 16:33:29 +02:00
06a7aea979 Change some output generating lines 2020-08-30 16:32:09 +02:00
a58d540126 Add basic logging and dbus functionality to sfsmcd 2020-08-23 01:05:22 +02:00
5852f80b1f Add a few dependencies for using dbus 2020-08-23 01:04:29 +02:00
3263df377d Add log and env_logger crates 2020-08-20 18:06:29 +02:00
14b3abdb9a Move dependencies to member manifests
...because apparently it's not allowed to have dependencies in the
workspace manifest if it only defines other members and isn't a member
itself or something 🤷‍♂️
2020-08-20 17:41:21 +02:00
Eli
6999bca459 Change project structure
For the server and "client" to be able to communicate with eachother,
I'll be using DBus (https://www.freedesktop.org/wiki/Software/dbus/)
and the dbus-crate (https://crates.io/crates/dbus/).
Also, it will probably be better to split the server and client/daemon
and control utility in two separate projects (using Cargo's workspaces
(https://doc.rust-lang.org/cargo/reference/workspaces.html)).
2020-08-04 17:00:50 +02:00