https://bugs.freedesktop.org/show_bug.cgi?id=92164
--- Comment #4 from Patrick Ohly <[email protected]> ---
Comment on attachment 118590
--> https://bugs.freedesktop.org/attachment.cgi?id=118590
When starting from the .desktop file, use D-Bus activation
Review of attachment 118590:
-----------------------------------------------------------------
Indeed, a hard dependency on having dbus-send installed is a bit problematic.
I'm going to use this instead:
if which dbus-send >/dev/null 2>&1; then
# Use D-Bus activation to start it, to take advantage of
# systemd service management.
dbus-send \
--session \
--type=method_call \
--print-reply \
--dest=org.freedesktop.DBus \
/org/freedesktop/DBus \
org.freedesktop.DBus.StartServiceByName \
string:org.syncevolution \
uint32:0
else
# Fall back to direct invocation.
exec @libexecdir@/syncevo-dbus-server @SYNCEVO_DBUS_SERVER_ARGS@
2>/dev/null 1>&1
fi
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
Syncevolution-issues mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution-issues