Commit Graph

12 Commits

Author SHA1 Message Date
f99ee75f98 Fix #1 by using enums instead of traits
It very much reduces code and complexity.
2020-09-17 22:14:20 +02:00
ba5e5ece69 Add MinecraftService and change Interface trait
I found out I did a design mistake (#2)
2020-09-17 17:27:49 +02:00
e25cfe94d2 Add MinecraftService
...and change some other trait impl bits, too
2020-09-14 20:15:22 +02:00
4bcb78164d Add new error variants 2020-09-14 20:14:15 +02:00
bb9bfd3b62 Change functions to return an optional JoinHandle 2020-09-14 20:13:52 +02:00
f0066c8e76 Complete moving from dbus-crossroads to dbus::tree 2020-09-13 14:49:59 +02:00
a4bf221c92 Remove dbus-crossroads and code using it
That library didn't do it for me.
Adding async methods was a pain in the a** with lifetime and type bounds
confusing the heck out of me.
So I tried it with `dbus::tree` (in the next commits). It still was a
bit of work to get it working, but at least it **is** working.
2020-09-13 14:48:35 +02:00
5aaf57c9bb Add comment/code documentation 2020-08-30 19:41:13 +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