Removed dbus support.
Added unix signals support.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=D-Bus User Message Bus
|
||||
Documentation=man:dbus-daemon(1)
|
||||
Requires=dbus.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --systemd-activation
|
||||
ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
|
||||
|
||||
[Install]
|
||||
Also=dbus.socket
|
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=D-Bus User Message Bus Socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=%t/bus
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=dbus.service
|
@@ -5,7 +5,7 @@ ConditionPathExists=%h/.config/codestation/qcma.conf
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/qcma_cli --verbose
|
||||
ExecStop=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.qcma.HeadlessManager /HeadlessManager org.qcma.HeadlessManager.stop
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
Alias=qcma_cli.service
|
||||
|
Reference in New Issue
Block a user