From 3b6eef57db6e8dec1b0cc64ebe5de81039051bb5 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 16 Oct 2018 21:45:28 +0200 Subject: Manage magiback start through DBus and systemd --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6c0f3dd..e991134 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ SYSCONFDIR=/etc DIRS = polkit POFILES = po DBUSDIR=$(SYSCONFDIR)/dbus-1 +SYSTEMDCONFDIR=$(LIBDIR)/systemd/system/ PACKAGE = isodumper VERSION = 1.02 @@ -71,6 +72,10 @@ install: mkdir -p $(DESTDIR)${DATADIR}/dbus-1/system-services install -m 644 backend/org.mageia.Magiback.service $(DESTDIR)${DATADIR}/dbus-1/system-services + # for systemd service on /usr/lib/systemd/system + mkdir -p $(DESTDIR)${SYSTEMDCONFDIR} + install -m 644 backend/magiback.service $(DESTDIR)${SYSTEMDCONFDIR} + # for policy file isodumper on /usr/share/polkit-1/actions/ # to have authentication with polkit (use for mageia policy) mkdir -p $(DESTDIR)$(POLKITPOLICYDIR) -- cgit v1.2.1