diff --git a/rootfs/etc/my_init.d/startup.sh b/rootfs/etc/my_init.d/startup.sh index 1354a3e..20e6464 100755 --- a/rootfs/etc/my_init.d/startup.sh +++ b/rootfs/etc/my_init.d/startup.sh @@ -60,3 +60,5 @@ if [ -f /bin/vesta-auto-ssl.sh ]; then bash /bin/vesta-auto-ssl.sh fi +find /home/admin/web -maxdepth 2 -type d -name "private" -exec sh -c 'echo "include /etc/nginx/conf.d/dbadmin.inc;" > $1/dbadmin.conf ' sh {} ';' + diff --git a/rootfs/sysprepz/admin/bin/my-startup.sh b/rootfs/sysprepz/admin/bin/my-startup.sh index 41e4305..276b175 100755 --- a/rootfs/sysprepz/admin/bin/my-startup.sh +++ b/rootfs/sysprepz/admin/bin/my-startup.sh @@ -15,10 +15,11 @@ rm -f /var/run/nginx.pid # delete defult postgres admindb if not use, then comment out the line below ./postgresql start -./nginx start ./vesta start + ./php7.2-fpm start ./php7.3-fpm start +./nginx start # ./fail2ban start \ # -- only if you run with: --cap-add=NET_ADMIN --cap-add=NET_RAW # other services (exim4, dovecot, clamav-daemon, spamassassin, couchdb, mongodb)