aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-10-16 21:45:28 +0200
committerPapoteur <papoteur@mageia.org>2018-10-16 21:48:35 +0200
commit3b6eef57db6e8dec1b0cc64ebe5de81039051bb5 (patch)
treed15687bfb551702bce4265723020c6798568baca /backend
parentd656d0088fde1ddf50afe3d9d154d5f66caa04c8 (diff)
downloadisodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar.gz
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar.bz2
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.tar.xz
isodumper-3b6eef57db6e8dec1b0cc64ebe5de81039051bb5.zip
Manage magiback start through DBus and systemd
Diffstat (limited to 'backend')
-rw-r--r--backend/magiback.service13
-rw-r--r--backend/org.mageia.Magiback.service1
2 files changed, 14 insertions, 0 deletions
diff --git a/backend/magiback.service b/backend/magiback.service
new file mode 100644
index 0000000..48f283b
--- /dev/null
+++ b/backend/magiback.service
@@ -0,0 +1,13 @@
+# This file is part of magiback.
+#
+
+[Unit]
+Description=Magiback backend
+
+[Service]
+Type=dbus
+BusName=org.mageia.Magiback
+ExecStart=/usr/bin/magiback
+
+[Install]
+Alias=dbus-org.mageia.Magiback.service
diff --git a/backend/org.mageia.Magiback.service b/backend/org.mageia.Magiback.service
index b495f1b..b4bfe52 100644
--- a/backend/org.mageia.Magiback.service
+++ b/backend/org.mageia.Magiback.service
@@ -2,3 +2,4 @@
Name=org.mageia.Magiback
Exec=/usr/bin/magiback
User=root
+SystemdService=magiback.service