summaryrefslogtreecommitdiff
path: root/start.sh
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-03-11 20:34:53 +0100
committeryvesf <yvesf-git@xapek.org>2011-03-11 20:34:53 +0100
commitaffa0b49e97a7f8fb25d29c3dc90e5f0459b127d (patch)
tree70a6dd890de26cc994e3810c2d07c816e2f8f3e5 /start.sh
parent550286de8802515b97358c9632f585677862a01b (diff)
downloadoffssh-affa0b49e97a7f8fb25d29c3dc90e5f0459b127d.tar.gz
offssh-affa0b49e97a7f8fb25d29c3dc90e5f0459b127d.zip
startskript
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