On Wed, Feb 02, 2011 at 08:43:53 +0100, Patrick Ohly wrote: > On Mi, 2011-02-02 at 06:23 +0000, Tino Keitel wrote: > > I switched to the new syncevo-http-server script from git, and now my > > syncevolution-dbus-server terminates every 10 minutes. Any hints what > > is causing this? > > That's the normal behavior of syncevo-dbus-server. It's shutting down > when not in use. It should be restarted by syncevo-http-server once > there is an incoming connection (if you use the --start-syncevolution > option) or the D-Bus daemon (if you have it installed such that the > daemon can find the service description). > > Is there a reason why you want it to keep running, or does the restart > mechanism fail?
I used to use 2 services on my syncevolution server: one that sets up a dbus session bus and starts syncevo-dbus-server, and one service for the syncevo-http-server script. The dbus-daemon --session is killed when the syncevo-dbus-server service is stopped, so that no stale processes exist. I guess I should just use syncevo-http-server --start-dbus-session and trust the script to not leave stale dbus-server --session processes. When I do this, I get this: syncevo-http: D-Bus session found (DISPLAY= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-gRbqTYtIbL,guid=eb2b4568aa8af99d0b0f083d4d490c68), but starting a new D-Bus session as requested I don't know where it gets the old session. It doesn't seem to exist, and the service should be started in a clean environment. Regards, Tino _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
