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

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

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

/telegraf/usr/bin/telegraf &

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