diff options
Diffstat (limited to 'srcs/nginx/src/entrypoint.sh')
| -rwxr-xr-x | srcs/nginx/src/entrypoint.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/srcs/nginx/src/entrypoint.sh b/srcs/nginx/src/entrypoint.sh index 5cab547..bfef63c 100755 --- a/srcs/nginx/src/entrypoint.sh +++ b/srcs/nginx/src/entrypoint.sh @@ -1,5 +1,10 @@ #!/bin/sh +echo 'root:password' | chpasswd +echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config + +openrc +touch /run/openrc/softlevel /etc/init.d/sshd start nginx -t || exit 1 |
