You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
275 B

#!/usr/bin/env sh
ssh-keygen -A
echo "Starting sshd:"
/usr/sbin/sshd -e "$@"
echo "Running crontab."
/usr/bin/crontab /crontab.txt &
/usr/sbin/crond -f -l 2 &
echo "Starting nginx in non daemon mode:"
chown -R nginx:nginx /usr/share/nginx
/usr/sbin/nginx -g 'daemon off;'