systemd user session integration
auke at foo-projects.org
Sun Jul 1 07:41:13 CEST 2012
On 06/30/2012 06:01 PM, Andrzej wrote:
> On 30/06/12 14:39, Auke Kok wrote:
>> I'd like to start a quick project to properly integrate Xfce4 with
>> systemd. There are several parts needed here, but it's not too hard to
>> do so.
>> Some concepts, before we start:
>>  systemd starts everything. No cheating and forking off helper
>>  socket activation is better than dbus activation is better than
>>  processes involved should signal when they are "complete" or "ready".
> I'm all for  (where "processes" are "xfce4-session") and against 
> and . I'd call it a baseline Xfce4-systemd integration and it should
> be available and supported out-of-the-(Xfce)-box.
> With that working you could proceed to deeper integration [1-3] but IMHO
>  and  should still be entirely optional.
Optional, certainly, but we shouldn't make Xfce session run in
old-school mode when e.g. --with-systemd-integration is passed.
Just writing 2 lines of code in Xfce4-session to call sd-notify is
useless, and you should not even bother if that's all that you want to
do, it's more of an insult then helpful, really. (you can already do
that right now without changes, just watch my demo video here:
What's wrong with determining which parts of Xfce4-session should be
independently started components and allowing a systemd-based host to
take full advantage of things like daemon watchdogs, starting based on
dependencies, etc. ?
More information about the Xfce4-dev