On Thu, 1 Dec 2016 20:48:37 +0300
Jean Louis wrote:
> On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote:
> > >
> > > Just before some time, emacs --daemon, would go into background,
> > > so it was not feasible to control it with s6 scripts. Now
> > > developers
On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote:
> >
> > Just before some time, emacs --daemon, would go into background, so it
> > was not feasible to control it with s6 scripts. Now developers changed
> > it, and it is possible to invoke multiple instances by name, and still
> > keep
The s6-poweroff is for root user, and I have users who wish to
poweroff, and I don't want to give them sudo rights to power off the
computer. That is why I am searching for simple solution.
Create a "poweroff" group.
Add all the users you want to that group.
chown root:poweroff
On Thu, Dec 01, 2016 at 06:15:48PM +, Laurent Bercot wrote:
> > The s6-poweroff is for root user, and I have users who wish to
> > poweroff, and I don't want to give them sudo rights to power off the
> > computer. That is why I am searching for simple solution.
>
> Create a "poweroff" group.
Well, there's no output on the console and no logs - after it does its
thing it just hangs, doesn't execute the next program.
This:
s6-softlimit -c 204800 this_binary_desnt_exist
also hangs.
That's weird. What is the state of the process after it hangs?
(S, R, D or something else?)
--
On Thu, 1 Dec 2016 20:28:46 +0300
Jean Louis wrote:
> On Thu, Dec 01, 2016 at 12:05:31PM -0500, Steve Litt wrote:
> > OK, I'll byte.
> >
> > I thought emacs was an editor that a human runs in the foreground to
> > edit files, so my reaction to this was "of course it runs in
On Thu, 1 Dec 2016 11:18:29 +0300
Jean Louis wrote:
> The GNU Emacs now has got a new option:
>
> emacs --new-daemon=NAME
>
> that is running emacs daemon in foreground, obviously someone reacted
> since last time I wrote to the emacs mailing list. It is in the
> development
On Thu, Dec 01, 2016 at 12:54:38PM -0500, Steve Litt wrote:
> On Thu, 1 Dec 2016 20:48:37 +0300
> Jean Louis wrote:
>
> > On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote:
> > > >
> > > > Just before some time, emacs --daemon, would go into background,
> > > > so it
The GNU Emacs now has got a new option:
emacs --new-daemon=NAME
that is running emacs daemon in foreground, obviously someone reacted
since last time I wrote to the emacs mailing list. It is in the
development version or git.
http://savannah.gnu.org/projects/emacs/
That is great news for those
Setting `kernel.ctrl-alt-del' to 0 just makes C-A-D send SIGINT to PID 1
(instead of triggering a hard reboot). If you want to make SIGINT
trigger a grace shutdown, you can modify the SIGINT handler in the
`service/.s6-svscan' directory.
But I personally do not think changing signal semantics
OK that is correct, I need to configure acpid, for power off.
And I will leave defaults of reboot with ctrl-alt-del
The s6-poweroff is for root user, and I have users who wish to
poweroff, and I don't want to give them sudo rights to power off the
computer. That is why I am searching for simple
Thank you much. I have figured out that I had to change kernel
parameter to be:
kernel.ctrl-alt-del = 0
and now I see that ctrl-alt-del reboots, it is by default.
What exactly should I change or do, that is simply does power off?
On Sat, Nov 26, 2016 at 10:36:22PM +0800, Casper Ti. Vector
12 matches
Mail list logo