Re: GNU Emacs now runs in foreground

From: Jean Louis <bugs_at_gnu.support>
Date: Sat, 3 Dec 2016 14:52:02 +0300

Hello Jonathan,

Now when I use s6, I don't want to switch, maybe on some other
computers I can test the nosh. It looks like good system, especially
if you start providing such solutions for various daemons.


On Sat, Dec 03, 2016 at 11:33:51AM +0000, Jonathan de Boyne Pollard wrote:
> Jean Louis:
>
> > emacs --new-daemon=NAME
> >
>
> I have added a new per-user service for this to nosh, ready for version 1.30
> . So one just has to start the per-user service manager
>
> # system-control start user_at_jlouis.target
>
> then start the emacs server
>
> $ system-control --user start emacs
>
> Adjust its environment, if desired, in the conventional way
>
> $ system-control --user set-service-env emacs DISPLAY :15.2
>
> or (if /usr/local/sbin is on one's path)
>
> $ rcctl set --user emacs DISPLAY :15.2

I see about adjusting environment. I guess that may be good, only
DISPLAY should not be necessary, it is daemon, and I start it without
display, and later also GNU Emacs running on X can access it, but also
from a console.

If I understand it well, in your system, you define services, and then
the service may be marked for start by user? And then it runs on each
boot by user?

Jean
Received on Sat Dec 03 2016 - 11:52:02 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC