#!/bin/bash # Carrega o .bashrc se existir [ -f ~/.bashrc ] && . ~/.bashrc # Gera chaves de host SSH se não existirem ssh-keygen -A # Inicia o SSH em background /usr/sbin/sshd # Inicia o Nginx em foreground echo "🚀 Iniciando Nginx..." exec nginx -g "daemon off;"