From ee64aabc5ffb4cf7c47cc3e3bda614343132ee7b Mon Sep 17 00:00:00 2001 From: yvesf Date: Tue, 15 Mar 2011 23:24:21 +0100 Subject: fix startstuff --- offssh.py | 2 -- start.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/offssh.py b/offssh.py index a5ac53a..6bca574 100644 --- a/offssh.py +++ b/offssh.py @@ -8,11 +8,9 @@ from twisted.conch import error, avatar from twisted.conch.checkers import SSHPublicKeyDatabase from twisted.conch.ssh import factory, userauth, connection, keys, session from twisted.internet import reactor, protocol, defer -from twisted.python import log from zope.interface import implements import sys import random -log.startLogging(sys.stderr) header = """Linux kischt 2.6.48-5-amd23 #1 SMP Wed Jan 12 04:22:50 UTC 2011 i687 diff --git a/start.sh b/start.sh index b367d91..f5e19c5 100755 --- a/start.sh +++ b/start.sh @@ -2,4 +2,4 @@ uid=$(getent passwd nobody | cut -f 3 -d :) gid=$(getent passwd nobody | cut -f 4 -d :) -twistd --nodaemon -o --gid=$gid --uid=$uid -y offssh.py +twistd --nodaemon --no_save --gid=$gid --uid=$uid --python offssh.py -- cgit v1.2.1