I have a systemd service, which is activated by a DBus service. The mechanism itself works:
- The systemd service is not running
- I send a call via DBus to the requested bus
- My service is started
The issue is that the message from step 2 is lost. I need to re-send the DBus call in order to get a response from the now-running service.
Is that behavior expected? Is there a way of queuing the message from 2 until the service is started, and delivering it then?
my dbus service file looks like this:
[D-BUS Service]
Name=d.d.service
Exec=/bin/false
SystemdService=dbus-example.service
And my service file like this:
[Unit]
Description=example dbus service
[Service]
ExecStart=/home/daniel/Projects/dbus/asdf.sh
Type=dbus
BusName=d.d.service
Environment=DISPLAY=:0