aboutsummaryrefslogtreecommitdiff
path: root/srcs/nginx/src/entrypoint.sh
blob: 00aca445504ef7cdcef533dc40b306229254faf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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 -g 'daemon off;'