summaryrefslogtreecommitdiff
path: root/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'start.sh')
-rwxr-xr-xstart.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/start.sh b/start.sh
new file mode 100755
index 0000000..b367d91
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+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