How to restart dbus service?

Mathieu Bridon bochecha at fedoraproject.org
Thu Jul 17 14:59:40 UTC 2014


On Thu, 2014-07-17 at 10:24 -0400, Matthias Clasen wrote:
> On Thu, 2014-07-17 at 16:21 +0200, Mathieu Bridon wrote:
> > On Thu, 2014-07-17 at 16:11 +0200, Miroslav Suchý wrote:
> > > Hi,
> > > how can I restart dbus service, registered via systemd unit?
> > > 
> > > To be specific, I have in system:
> > > /usr/share/dbus-1/services/org.a11y.atspi.Registry.service
> > > with:
> > > [D-BUS Service]
> > > Name=org.a11y.atspi.Registry
> > > Exec=/usr/libexec/at-spi2-registryd --use-gnome-session
> > 
> > That service should instead have a SystemdService= key, with the name of
> > the systemd unit as its value. (then Exec= becomes completely unused)
> > 
> > Without this (and the actual systemd unit), the service is completely
> > unknown by systemd, so it can't restart it.
> > 
> 
> This is a session service, so systemd is not in the picture (yet).

Ah, right, I misread and read the path as .../system-services/...


-- 
Mathieu



More information about the devel mailing list