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;'