Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
add dbadmin.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed May 24, 2019
1 parent d4190f6 commit 7f3cb87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rootfs/etc/my_init.d/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {} ';'

3 changes: 2 additions & 1 deletion rootfs/sysprepz/admin/bin/my-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7f3cb87

Please sign in to comment.