diff options
author | yvesf <yvesf-git@xapek.org> | 2011-03-11 20:34:53 +0100 |
---|---|---|
committer | yvesf <yvesf-git@xapek.org> | 2011-03-11 20:34:53 +0100 |
commit | affa0b49e97a7f8fb25d29c3dc90e5f0459b127d (patch) | |
tree | 70a6dd890de26cc994e3810c2d07c816e2f8f3e5 /start.sh | |
parent | 550286de8802515b97358c9632f585677862a01b (diff) | |
download | offssh-affa0b49e97a7f8fb25d29c3dc90e5f0459b127d.tar.gz offssh-affa0b49e97a7f8fb25d29c3dc90e5f0459b127d.zip |
startskript
Diffstat (limited to 'start.sh')
-rwxr-xr-x | start.sh | 5 |
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 |