Re: Emacs Daemon as Service

2020-03-25 Thread Laurent Bercot
#!/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. Here emacs is launched by your supervision tree, not your user environment, so it doesn't have access

Emacs Daemon as Service

2020-03-24 Thread Uros Perisic
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