ft_onion/entrypoint.sh

13 lines
226 B
Bash

#!/bin/sh
# Start the SSH service
/usr/sbin/sshd -D &
# Start the Nginx service
nginx -g 'daemon off;' &
# Start the Tor service
tor -f /etc/tor/torrc &
# Keep the script running to prevent container exit
tail -f /dev/null