Dbus signals (#28)

* Small rename of dbus args
* Split out parts of main loop to tasks
* Send signals on boot
This commit is contained in:
Luke Jones
2020-07-07 13:33:32 +12:00
committed by GitHub
parent 2dc61fe994
commit 229fa93bc7
6 changed files with 186 additions and 55 deletions

View File

@@ -33,7 +33,7 @@ distclean:
rm -rf .cargo vendor vendor.tar.xz
install: all
install -D -m 04755 "target/release/$(BIN)" "$(DESTDIR)$(bindir)/$(BIN)"
install -D -m 0755 "target/release/$(BIN)" "$(DESTDIR)$(bindir)/$(BIN)"
install -D -m 0644 "data/$(BIN).conf" "$(DESTDIR)$(sysconfdir)/dbus-1/system.d/$(BIN).conf"
install -D -m 0644 "data/$(BIN).service" "$(DESTDIR)$(libdir)/systemd/system/$(BIN).service"