aboutsummaryrefslogtreecommitdiff
path: root/srcs/nginx/src/entrypoint.sh
blob: 07719affd9f18b32a9de7efe9c830168d4911803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

echo 'root:password' | chpasswd
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
# echo 'Port 30022' >> /etc/ssh/sshd_config

openrc
touch /run/openrc/softlevel
/etc/init.d/sshd start

nginx -t || exit 1
nginx
sleep infinity &
wait