Creating a .service File

Justin Brown justin.brown at fandingo.org
Tue Oct 18 07:30:32 PDT 2011


Simon,

Thanks for the response. That was a copy/paste error on my part. The service
file is correct, but still not working.
I have rebooted my computer since installing that service file.

Any other ideas?

Regards,
Justin Brown

On Tue, Oct 18, 2011 at 3:35 AM, Simon McVittie <
simon.mcvittie at collabora.co.uk> wrote:

> On Mon, 17 Oct 2011 at 23:56:17 -0500, Justin Brown wrote:
> > The .service file contains
> >
> > [D-Bus Service]
> > Name=org.fandingo.PMP
> > Exec=/home/justin/code/python/pmp/Server.py
>                                     ^^^^^^
> > User=justin
> >
> > pmpserver.py is executable and has the correct shebang.
>   ^^^^^^^^^
>
> Is it Server or pmpserver? Make your mind up :-)
>
> If this is a session bus service (which it is, because you put the .service
> file in .../dbus-1/services and not .../dbus-1/system-services), the User
> key is unnecessary and might cause problems - session services are always
> run as you.
>
> If you're not sure whether the dbus-daemon is loading the new service file,
> you could log out and back in (but if you do that and it works, please
> reply
> and say so - that'd be a bug).
>
>    S
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20111018/ef32981f/attachment.html>


More information about the dbus mailing list