svn commit: r268641 - head/usr.sbin/service

O'Connor, Daniel Daniel.O'Connor at emc.com
Wed Jul 16 08:58:14 UTC 2014


On 16 Jul 2014, at 14:49, Adrian Chadd <adrian at freebsd.org> wrote:
> On 15 July 2014 22:08, Mark Linimon <linimon at lonesome.com> wrote:
>> On Tue, Jul 15, 2014 at 07:13:44PM -0700, dteske at 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.


Regards,
	Daniel O’Connor





More information about the svn-src-all mailing list