Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 09:20:08 -0700
From:      <dteske@FreeBSD.org>
To:        "'O'Connor, Daniel'" <Daniel.O'Connor@emc.com>, "'Adrian Chadd'" <adrian@freebsd.org>
Cc:        'Mateusz Guzik' <mjguzik@gmail.com>, svn-src-all@freebsd.org, 'Bryan Drewery' <bdrewery@freebsd.org>, src-committers@freebsd.org, svn-src-head@freebsd.org, 'Mark Linimon' <linimon@lonesome.com>, 'Devin Teske' <dteske@freebsd.org>
Subject:   RE: svn commit: r268641 - head/usr.sbin/service
Message-ID:  <028f01cfa111$cf809460$6e81bd20$@FreeBSD.org>
In-Reply-To: <31BAEE0C-984C-47A5-AC4A-DCE1405C298D@emc.com>
References:  <201407150218.s6F2Itj8044531@svn.freebsd.org> <53C56BE9.9050304@FreeBSD.org> <20140715191553.GA31990@dft-labs.eu> <011a01cfa09b$928b4710$b7a1d530$@FreeBSD.org> <20140716050817.GA6122@lonesome.com> <CAJ-VmonM8p4od7xgh6Ng9hXjAwTX6beFn1A=s%2BwCtpDW8fL8TA@mail.gmail.com> <31BAEE0C-984C-47A5-AC4A-DCE1405C298D@emc.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----Original Message-----
> From: owner-src-committers@freebsd.org [mailto:owner-src-
> committers@freebsd.org] On Behalf Of O'Connor, Daniel
> Sent: Wednesday, July 16, 2014 1:58 AM
> To: Adrian Chadd
> Cc: Mark Linimon; Mateusz Guzik; svn-src-all@freebsd.org; Bryan Drewery;
> src-committers@freebsd.org; svn-src-head@freebsd.org; Devin Teske
> Subject: Re: svn commit: r268641 - head/usr.sbin/service
> 
> 
> On 16 Jul 2014, at 14:49, Adrian Chadd <adrian@freebsd.org> wrote:
> > On 15 July 2014 22:08, Mark Linimon <linimon@lonesome.com> wrote:
> >> On Tue, Jul 15, 2014 at 07:13:44PM -0700, dteske@FreeBSD.org wrote:
> >>> destroying all vestiges of that environment purely for the sake of
> >>> saying "it's clean" seems counter to the UNIX pathos.
> >>
> >> I think you mean "ethos" here, but frankly I like it better this way.
> >
> > I'm a bit confused by this thread.
> >
> > screen and tmux are interactive processes. They're not designed to be
> > run as UNIX services.
> >
> > Why is this even happening?
> 
> The mine craft server port uses tmux so you can fiddle with the MC console
> later.
> 
> Neither screen nor tmux cares if TERM is set when it is run, e.g.
> 
> [midget 18:25] ~ >env -i /usr/local/bin/tmux new-session -d
> [midget 18:25] ~ >tmux ls
> 0: 1 windows (created Wed Jul 16 18:25:33 2014) [241x38]
> 
> [midget 18:26] ~ >env -i /usr/local/bin/screen -d -m
> [midget 18:26] ~ >screen -ls
> There are screens on:
> 	30081..midget	(Detached)
> 3 Sockets in /tmp/screens/S-darius.
> 

Looks like "-d" is the magic that needs to be used in rc.d scripts.

Thanks! I'll start spreading that knowledge and reverse r268641.
-- 
Devin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?028f01cfa111$cf809460$6e81bd20$>