1
0
mirror of /repos/baseimage-docker.git synced 2026-06-26 14:00:50 +02:00

Initial commit

This commit is contained in:
Hongli Lai (Phusion)
2013-11-12 11:39:25 +01:00
commit 9661f84da9
16 changed files with 320 additions and 0 deletions
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" "$@"