Using "After" directive was the key! Now my user autostarts and works as
expected using systemctl-user.
Thanks again!
On Mon, Feb 3, 2014 at 11:15 AM, Andrey Kozhevnikov
wrote:
> its not Requires directive, its After
>
>
> On 03.02.2014 16:11, Luca Donaggio wrote:
>
> Hi Andrey,
>
> yes, I
em to work...
-kimmo
From: devel-boun...@lists.sailfishos.org
[mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Andrey Kozhevnikov
Sent: 3. helmikuuta 2014 12:16
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] dbus-sessionbus connection fails
its not Requires directive, its Aft
Thanks Andrey, I'll try that!
On Mon, Feb 3, 2014 at 11:15 AM, Andrey Kozhevnikov
wrote:
> its not Requires directive, its After
>
>
> On 03.02.2014 16:11, Luca Donaggio wrote:
>
> Hi Andrey,
>
> yes, I tried with a:
>
> Requires=dbus .service
>
> but I did so many changes to my .service f
its not Requires directive, its After
On 03.02.2014 16:11, Luca Donaggio wrote:
Hi Andrey,
yes, I tried with a:
Requires=dbus .service
but I did so many changes to my .service file trying to make it work
that I can't remember exactly when I did that!
I'll re-start with a clean one and see i
Hi Andrey,
yes, I tried with a:
Requires=dbus .service
but I did so many changes to my .service file trying to make it work that I
can't remember exactly when I did that!
I'll re-start with a clean one and see if it works.
On Mon, Feb 3, 2014 at 11:05 AM, Andrey Kozhevnikov
wrote:
> did you
did you added depends for your autostart rule on some system service?
otherwise it wont start :)
On 03.02.2014 16:01, Luca Donaggio wrote:
I'm fighting with the same issue: starting your dbus-using daemon with
"systemctl-user start" does work (ie, you'll be able to connect to
session bus), but
I'm fighting with the same issue: starting your dbus-using daemon with
"systemctl-user start" does work (ie, you'll be able to connect to session
bus), but autostarting with "systemctl-user enable" doesn't work, while
making it a system daemon (plain "systemctl" command) works the other way
around:
Hi
You should run your daemon form user systemd unit.
https://wiki.archlinux.org/index.php/Systemd/User
On 1 February 2014 21:53, Kimmo Lindholm wrote:
> Hi,
>
> I'm using QtDBus in my daemon (systemd service), and I can register my own
> service on systemBus, and also can connect to systembu
Hi,
I'm using QtDBus in my daemon (systemd service), and I can register my own
service on systemBus, and also can connect to systembus signals.
When starting executable from command line it runs ok and connects also to the
sessionbus signals successfully.
but when it is started via systemctl sta