:: Re: [DNG] User services
Inizio della pagina
Delete this message
Reply to this message
Autore: Evilham
Data:  
To: dng
Oggetto: Re: [DNG] User services
\o/ this is pretty cool and significantly more than I thought
would be the beginning.

On dv., maig 10 2019, Martin Steigerwald wrote:

> And now feel free already to contribute your own services. :)
>
> I welcome merge requests.



Let me just add: not only creating the Merge Requests, but also
requesting support for X should also be helpful in that we get to
know which packages and user-services are having issues with.

Of course, ideally: contributed work is better than just asking
for things to get done :-).

Maybe the path to officially supporting runit can start by calling
everyone who uses it one way or another to contribute some svdirs.


>
> There are quite some ideas on how to improve this initial proof
> of concept:
> - Make it work out of the box with .xprofile (or how that is
> called).
> /me looking to Evilham now :)


There is not much to it really, a line I'd use in ~/.xprofile is
something like:

/usr/bin/runsvdir -P "$HOME/.services/enabled" "log:
................" &

And it should start and stop along with the X session (I don't
think it's a good idea to have these services start on regular
sessions).

> - Make it work with other desktop environments out of the box


Using the above should do that.

> - Make it handle groups of services in a clean and simple way
> - Make it work with s6 alternatively (may just need replacing
> runsvdir)
> - And of course add more services, …
> - including any of those relevant in /usr/lib/systemd/user/
> - Putting it into a package. I am willing to package it at a
> later point
> in time.
>
>
> When discussing this, please make sure doing so constructively.
>
>
> Thanks a lot to Evilham for coming up with the idea to use runit
> for user
> services and for providing the initial service directories for
> the four
> services to make Evolution work.


Thank you for looking into it and actually documenting it and
improving on the whole thing.

>
> Now let's make more out of this by the power of together…
>
> and of course enjoy using it.


Yes!
--
Evilham