Emacs Daemon as Service

From: Uros Perisic <uros.m.perisic_at_gmail.com>
Date: Wed, 25 Mar 2020 11:27:25 +0800

Hi everyone,

I'm kind of stuck here. I'm trying to write an emacs service:
```
#!/usr/bin/execlineb -P
s6-setuidgid uros
emacs --fg-daemon --user uros
```
Though the server starts it cannot connect to the X display. I assume
there's an explicit way to handle this in s6.

Or should I start another supervision tree owned by me? If so how would
s6-rc talk to it? Does it always have to be specified on the command line?

I'm just hunting for best practices here, any help would be appreciated.

Best,
Uros
Received on Wed Mar 25 2020 - 03:27:25 UTC

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