> -----Original Message----- > From: [email protected] [mailto:owner-src- > [email protected]] On Behalf Of O'Connor, Daniel > Sent: Wednesday, July 16, 2014 1:58 AM > To: Adrian Chadd > Cc: Mark Linimon; Mateusz Guzik; [email protected]; Bryan Drewery; > [email protected]; [email protected]; Devin Teske > Subject: Re: svn commit: r268641 - head/usr.sbin/service > > > On 16 Jul 2014, at 14:49, Adrian Chadd <[email protected]> wrote: > > On 15 July 2014 22:08, Mark Linimon <[email protected]> wrote: > >> On Tue, Jul 15, 2014 at 07:13:44PM -0700, [email protected] 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
