Initial commit

This commit is contained in:
Hongli Lai (Phusion) committed 2013-11-12 11:39:25 +01:00
commit 9661f84da9
16 files changed
+320

No files matched your search

Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
user="$1"
shift
if [[ "$user" == "root" ]]; then
export HOME=/root
else
export HOME=/home/$user
fi
exec chpst -u "$user" "$@"