9 lines
169 B
Bash
9 lines
169 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
if [ -n "${TARGET_PASSWORD:-}" ]; then
|
|
echo "auditor:$TARGET_PASSWORD" | chpasswd
|
|
fi
|
|
|
|
/usr/sbin/sshd
|
|
exec nginx -g 'daemon off;' |