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

Re: Question About the Purpose of s6-rc

2020-03-20 Thread Uros Perisic
Alright, I'm sold. I'm diving into s6. So much control. Thanks again Colin! On Fri, Mar 20, 2020 at 2:33 PM Colin Booth wrote: > On Fri, Mar 20, 2020 at 01:36:13PM +0800, Uros Perisic wrote: > > Thanks Colin! > > > > That clarifies a lot. > > > > The s6-rc -w

Re: Question About the Purpose of s6-rc

2020-03-19 Thread Uros Perisic
that is the recommended way to handle dependencies in runit. I take it s6-svwait is preferred in s6, especially given that there is no polling and hence no cost involved? All the best, Uros On Fri, Mar 20, 2020 at 1:00 PM Colin Booth wrote: > On Fri, Mar 20, 2020 at 12:30:15PM +0800, Uros Peri

Question About the Purpose of s6-rc

2020-03-19 Thread Uros Perisic
Hi all, I am generally new to daemontools-style init systems (been a runit user for about 6 months now, looking to try out s6), so I have a few clarifying questions regarding s6-rc. Forgive me if they stem from my ignorance. All three bullets here

Subdirectories as service dependencies

2020-08-03 Thread Uros Perisic
As a daemon supervision suite, I get that this can seems out of scope for s6 (as opposed to s6-rc), but hear me out. The log directory is currently treated as a special case, but what if it didn't need to be? Any subdirectory with an executable run file could be considered a service dependency.