summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-03-15 23:24:21 +0100
committeryvesf <yvesf-git@xapek.org>2011-03-15 23:24:21 +0100
commitee64aabc5ffb4cf7c47cc3e3bda614343132ee7b (patch)
tree9d83016aee0a213493fc590460e0714b7c8107ca
parentaffa0b49e97a7f8fb25d29c3dc90e5f0459b127d (diff)
downloadoffssh-ee64aabc5ffb4cf7c47cc3e3bda614343132ee7b.tar.gz
offssh-ee64aabc5ffb4cf7c47cc3e3bda614343132ee7b.zip
fix startstuff
-rw-r--r--offssh.py2
-rwxr-xr-xstart.sh2
2 files changed, 1 insertions, 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